Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rath3t committed Oct 31, 2023
1 parent d8757ef commit 112a5ee
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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})
Expand Down

0 comments on commit 112a5ee

Please sign in to comment.