]> Creatis software - creaToolsTools.git/blobdiff - Linux/scripts/ThirdParty-install-ITK.sh
#2689 creaToolsTools Feature New Normal - Third party Linux WT configuration
[creaToolsTools.git] / Linux / scripts / ThirdParty-install-ITK.sh
index d289d0eb50248fc557ea593ffeb2699e55ad1895..cdc26815e70054a98555b218f448db7a9b57553b 100644 (file)
@@ -158,7 +158,7 @@ then
 
   cmake -G"Unix Makefiles" -H$sourcesDir/$libname -B$dirInstall/
   ##cmake -G"CodeBlocks - Unix Makefiles" -H$sourcesDir/$libname -B$dirInstall/
-  cmake -D USE_DEBUG_LIB:BOOL=$buildType -D CMAKE_INSTALL_PREFIX:PATH=$installPrefixThird CMakeCache.txt
+  cmake -D CMAKE_BUILD_TYPE:STRING=$buildType -D CMAKE_INSTALL_PREFIX:PATH=$installPrefixThird CMakeCache.txt
   cmake -D BUILD_EXAMPLES:BOOL=OFF -D BUILD_TESTING:BOOL=OFF -D BUILD_SHARED_LIBS:BOOL=ON -D ITK_USE_REVIEW:BOOL=ON CMakeCache.txt
   if [ $ITKVersion = ITK4 ]
   then