source $PWD/scripts/CreaTools-configure.sh
+#EED 2021-11-15
+ source $PWD/scripts/LocalFunctions.sh
+ if [ `getDistrib` == "CentOS" ] && [ `getKernelVersion` < "2.6.34" ]
+ then
+ stdCompiler=c++98
+ else
+ stdCompiler=c++11
+ fi
+
echo "------"
echo $PWD/scripts/CreaTools-configure.sh
## # tar -xvzf gdcm13_2018_05_28_vtk8.tar.gz
## fi
+
+cxxFlags=' '
+if [ $TDx == "ON" ]
+then
+ cxxFlags=$cxxFlags'-F/Library/Frameworks -DVTK_USE_TDX '
+fi
+
+
wget http://www.creatis.insa-lyon.fr/~davila/creatools_back_site/crea_ThirdParty_Libraries/source/gdcm13_2019_06_17_vtk8.zip
unzip gdcm13_2019_06_17_vtk8.zip
cmake -G"Unix Makefiles" -H$sourcesDir/$libname -B$dirInstall/
##cmake -G"CodeBlocks - Unix Makefiles" -H$sourcesDir/$libname -B$dirInstall/
+ cmake -D CMAKE_CXX_FLAGS:STRING="$cxxFlags" 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