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 USE_DEBUG_LIB:BOOL=$buildType -D CMAKE_INSTALL_PREFIX:PATH=$installPrefixThird CMakeCache.txt
if [ $OperatingSystem = "MacOS" ]
then
cmake -D BUILD_SHARE_LIBS:BOOL=ON -D VTK_USE_CARBON:BOOL=ON -D VTK_USE_COCOA:BOOL=OFF CMakeCache.txt
- cmake -D VTK_USE_TCL:BOOL=ON CMakeCache.txt
- cmake -D VTK_USE_TCL:BOOL=OFF CMakeCache.txt
+ cmake -D VTK_USE_TCL:BOOL=OFF CMakeCache.txt
+ cmake -D CMAKE_CXX_COMPILER:FILE=/usr/bin/g++ CMakeCache.txt
fi
cmake -D BUILD_EXAMPLES:BOOL=OFF -D BUILD_TESTING:BOOL=OFF -D BUILD_SHARED_LIBS:BOOL=ON -D VTK_USE_QT:BOOL=ON CMakeCache.txt
make -j $corenumber