Skip to content

Commit

Permalink
MRTRIX_BUILD_NON_CORE_STATIC -> MRTRIX_BUILD_STATIC
Browse files Browse the repository at this point in the history
  • Loading branch information
daljit46 committed Sep 26, 2024
1 parent 4148a3b commit a2ac430
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ option(MRTRIX_BUILD_TESTS "Build tests executables" OFF)
option(MRTRIX_STRIP_CONDA "Strip ananconda/mininconda from PATH to avoid conflicts" ON)
option(MRTRIX_USE_PCH "Use precompiled headers" ON)
option(MRTRIX_PYTHON_SOFTLINK "Build directory softlink to Python source code rather than copying" ON)
option(MRTRIX_BUILD_NON_CORE_STATIC "Build MRtrix's non-core code as a static library" OFF)
option(MRTRIX_BUILD_STATIC "Build MRtrix's library statically" OFF)
option(MRTRIX_USE_LLD "Use lld as the linker" OFF)

set(MRTRIX_DEPENDENCIES_DIR "" CACHE PATH
Expand Down
2 changes: 1 addition & 1 deletion cpp/lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ target_include_directories(mrtrix-cmd-version PRIVATE ${CMAKE_CURRENT_SOURCE_DIR
add_dependencies(mrtrix-cmd-version cmd-version-target)


if(MRTRIX_BUILD_NON_CORE_STATIC)
if(MRTRIX_BUILD_STATIC)
set(MRTRIX_LIBRARY_TYPE STATIC)
else()
set(MRTRIX_LIBRARY_TYPE SHARED)
Expand Down

0 comments on commit a2ac430

Please sign in to comment.