diff --git a/CMakeLists.txt b/CMakeLists.txt index c0a92a6..3e59c6d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -85,9 +85,7 @@ if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" AND BUILD_SHARED_LIBS) else() target_link_libraries(${PROJECT_NAME} PUBLIC dbt-rise-core) endif() -if(TARGET CONAN_PKG::elfio) - target_link_libraries(${PROJECT_NAME} PUBLIC CONAN_PKG::elfio) -elseif(TARGET elfio::elfio) +if(TARGET elfio::elfio) target_link_libraries(${PROJECT_NAME} PUBLIC elfio::elfio) else() message(FATAL_ERROR "No elfio library found, maybe a find_package() call is missing")