From 3187cbdfe2c728c89b4d65d03347cd6e3273315a Mon Sep 17 00:00:00 2001 From: Eyck Jentzsch Date: Mon, 12 Dec 2022 02:55:44 +0100 Subject: [PATCH] removes CONAN_PKG from build system --- CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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")