cd $scriptDirName
fi
-# wt
-if [ `checkVal $command all 3rd 3rd-wt` == true ] ; then
- bigDisplay "INSTALL WT"
- source scripts/ThirdParty-install-WT.sh
- cd $scriptDirName
-fi
-
# itk
if [ `checkVal $command all 3rd 3rd-itk` == true ] ; then
bigDisplay "INSTALL $ITKVersion"
cd $scriptDirName
fi
+# wt
+if [ `checkVal $command all 3rd 3rd-wt` == true ] ; then
+ bigDisplay "INSTALL WT"
+ source scripts/ThirdParty-install-WT.sh
+ cd $scriptDirName
+fi
# Setup the user .bashrc correctly
if [ `checkVal $command all 3rd 3rd-vtk 3rd-itk 3rd-gdcm 3rd-wx 3rd-wt ` == true ] ; then
cmake -G"Unix Makefiles" -H$sourcesDir/$libname -B$dirInstall/
##cmake -G"CodeBlocks - Unix Makefiles" -H$sourcesDir/$libname -B$dirInstall/
cmake -D CMAKE_BUILD_TYPE:STRING=$buildType -D CMAKE_INSTALL_PREFIX:PATH=$installPrefixThird CMakeCache.txt
- cmake -D LIB_INSTALL_DIR:PATH=lib/$libname -D ENABLE_EXT:BOOL=true CMakeCache.txt
+ cmake -D LIB_INSTALL_DIR:PATH=lib/$libname -D ENABLE_EXT:BOOL=true ENABLE_MYSQL:BOOL=false CMakeCache.txt
+ cmake -D BUILD_TESTS:BOOL=false CMakeCache.txt
# if [ $OperatingSystem = "MacOS" ]
# then
# ###
# fi
make -j $corenumber
- make install
+ su -c 'make install'
cd ..
fi