From 112a5ee044bda8bc74383e5f7020864ba498ceb3 Mon Sep 17 00:00:00 2001 From: AlexanderMueller Date: Tue, 31 Oct 2023 08:48:42 +0100 Subject: [PATCH] fix --- src/CMakeLists.txt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 9dfac5f..ced9b43 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -4,11 +4,10 @@ file(GLOB programSourceFiles CONFIGURE_DEPENDS *.cpp) include_directories(../libAddons/eigen/eigenAddons) add_custom_target(AllExamples) # Create target that includes all examples - +message(STATUS "programSourceFiles ${programSourceFiles}") find_dependency(spdlog) find_dependency(Matplot++) find_dependency(Eigen3) -find_dependency(QuadMath) foreach(programSourceFile ${programSourceFiles}) get_filename_component(programName ${programSourceFile} NAME_WLE) @@ -19,8 +18,8 @@ foreach(programSourceFile ${programSourceFiles}) ${programName} PUBLIC -Wno-unused-variable -Wno-unused-parameter -Wno-unused-but-set-variable -Wno-deprecated-copy -ftemplate-backtrace-limit=0 ) - - target_link_libraries(${programName} PUBLIC ikarus) + message(STATUS ${programName}) + target_link_libraries(${programName} PRIVATE ikarus) add_dependencies(AllExamples ${programName}) find_package(PythonLibs REQUIRED) include_directories(${PYTHON_INCLUDE_DIRS})