removes CONAN_PKG from build system

This commit is contained in:
Eyck Jentzsch 2022-12-12 02:55:44 +01:00
parent 8c701d55c1
commit 3187cbdfe2
1 changed files with 1 additions and 3 deletions

View File

@ -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")