From 048bc4adca20582093f487a4a5b66bf0cdc1a497 Mon Sep 17 00:00:00 2001 From: "Peter G. Jensen" Date: Fri, 10 Sep 2021 10:25:53 +0200 Subject: [PATCH] fixing deps --- src/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 6e69881..8ac6d1b 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -14,13 +14,13 @@ endif() add_library(strategy SHARED ${HEADER_FILES} libz2s.cpp ZonotopStrategy.cpp SimpleTree.cpp) if (STRATEGY_GetDependencies) - add_dependencies(strategy ptrie json) + add_dependencies(strategy ptrie nlohmann_json) endif (STRATEGY_GetDependencies) target_include_directories (strategy PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) add_library(strategyStatic STATIC ${HEADER_FILES} libz2s.cpp ZonotopStrategy.cpp SimpleTree.cpp) if (STRATEGY_GetDependencies) - add_dependencies(strategyStatic ptrie json) + add_dependencies(strategyStatic ptrie nlohmann_json) endif (STRATEGY_GetDependencies) target_include_directories (strategyStatic PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) set_target_properties(strategyStatic PROPERTIES OUTPUT_NAME strategy) @@ -28,7 +28,7 @@ set_target_properties(strategyStatic PROPERTIES OUTPUT_NAME strategy) if(NOT LIBSTRATEGY_OnlyLibrary) add_executable(z2s ${HEADER_FILES} main.cpp ZonotopStrategy.cpp SimpleTree.cpp) if (STRATEGY_GetDependencies) - add_dependencies(z2s ptrie json) + add_dependencies(z2s ptrie nlohmann_json) endif (STRATEGY_GetDependencies) target_link_libraries(z2s PRIVATE stdc++fs ${Boost_LIBRARIES}) endif()