Skip to content

Commit

Permalink
Replace args by cache_args in Anima.cmake inside superbuild
Browse files Browse the repository at this point in the history
  • Loading branch information
Gregoire-V committed Nov 26, 2024
1 parent 9625d03 commit 1057218
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions superbuild/Anima.cmake
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
set (proj Anima)

set (cmake_args
set (cmake_cache_args
${common_cache_args}
-DEXECUTABLE_OUTPUT_PATH=${CMAKE_BINARY_DIR}/bin
-DLIBRARY_OUTPUT_PATH=${CMAKE_BINARY_DIR}/lib
-DEXECUTABLE_OUTPUT_PATH:PATH=${CMAKE_BINARY_DIR}/bin
-DLIBRARY_OUTPUT_PATH:PATH=${CMAKE_BINARY_DIR}/lib
-DBUILD_TOOLS:BOOL=${BUILD_ANIMA_TOOLS}
-DBUILD_TESTING:BOOL=${BUILD_ANIMA_TESTING}
-DBUILD_DOCUMENTATION:BOOL=${BUILD_ANIMA_DOCUMENTATION}
Expand All @@ -16,7 +16,7 @@ set (cmake_args
-DBUILD_MODULE_QUANTITATIVE_MRI:BOOL=ON
-DTinyXML2_INCLUDE_DIR:PATH=${TinyXML2_SRC_DIR}
-DTinyXML2_LIBRARY_DIR:PATH=${TinyXML2_BUILD_DIR}
-DUSE_NLOPT=${USE_NLOPT}
-DUSE_NLOPT:BOOL=${USE_NLOPT}
-DNLOPT_INCLUDE_DIR:PATH=${NLOPT_INCLUDE_DIR}
-DNLOPT_SECONDARY_INCLUDE_DIR:PATH=${NLOPT_SECONDARY_INCLUDE_DIR}
-DNLOPT_LIBRARY_DIR:PATH=${NLOPT_BUILD_DIR}
Expand All @@ -35,7 +35,7 @@ ExternalProject_Add(${proj}
SOURCE_DIR ${CMAKE_SOURCE_DIR}/${proj}
CMAKE_GENERATOR ${cmake_gen}
CMAKE_GENERATOR_PLATFORM ${CMAKE_GENERATOR_PLATFORM}
CMAKE_ARGS ${cmake_args}
CMAKE_CACHE_ARGS ${cmake_cache_args}
BUILD_ALWAYS 1
BINARY_DIR ${CMAKE_BINARY_DIR}/${proj}
INSTALL_COMMAND ""
Expand Down

0 comments on commit 1057218

Please sign in to comment.