]> Creatis software - creaToolsTools.git/blobdiff - Linux/scripts/ThirdParty-install-gdcm.sh
#3044 creaToolsTools Bug New Normal - Fedora 24 ThirdParty library conflict with...
[creaToolsTools.git] / Linux / scripts / ThirdParty-install-gdcm.sh
index 29319a8d2072b14c1a5d3726dd8bb616da8dc576..9445e2b6c35e1156f7e8b357df43b0a9c0ee881a 100644 (file)
@@ -127,10 +127,11 @@ 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 VTK_DIR:PATH=$VTK_DIR CMakeCache.txt
   cmake -D GDCM_VTK:BOOL=ON -D GDCM_NAME_SPACE:STRING=gdcm13 CMakeCache.txt
-  make -j $corenumber
+  cmake -D CMAKE_CXX_FLAGS:STRING='-std=c++03' CMakeCache.txt
+  make -j
   make install
   cd ..
 fi