Skip to content

Commit

Permalink
Merge pull request #117 from Gregoire-V/cacheArgAnimaCmake
Browse files Browse the repository at this point in the history
Replace args by cache_args in Anima.cmake
  • Loading branch information
Florent2305 authored Dec 6, 2024
2 parents 9625d03 + 1057218 commit fe9aca3
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 fe9aca3

Please sign in to comment.