Skip to content

Commit 0072765

Browse files
committed
Attempt to fix linux build error (nlohmann-json not found)
1 parent 2997e48 commit 0072765

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

SuperBuild/External_nlohmann_json.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ if(NOT DEFINED ${proj}_DIR AND NOT ${CMAKE_PROJECT_NAME}_USE_SYSTEM_${proj})
5858
# Install directories
5959
-Dnlohmann_json_INSTALL_RUNTIME_DIR:STRING=${Slicer_INSTALL_THIRDPARTY_LIB_DIR}
6060
-Dnlohmann_json_INSTALL_LIBRARY_DIR:STRING=${Slicer_INSTALL_THIRDPARTY_LIB_DIR}
61+
-DCMAKE_INSTALL_LIBDIR:STRING=${Slicer_INSTALL_THIRDPARTY_LIB_DIR} # Skip default initialization by GNUInstallDirs CMake module
6162
# Options
6263
-DCMAKE_INSTALL_PREFIX:PATH=${EP_INSTALL_DIR}
6364
-DBUILD_TESTING:BOOL=OFF

0 commit comments

Comments
 (0)