From: jean-pierre roux Date: Wed, 15 Jun 2011 11:19:22 +0000 (+0000) Subject: for MacOS X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=213a294ad8e6399199a0cfd16511bfa83bfb59a2;p=creaToolsTools.git for MacOS --- diff --git a/Linux/scripts/ThirdParty-install.sh b/Linux/scripts/ThirdParty-install.sh index 9647691..75d834e 100644 --- a/Linux/scripts/ThirdParty-install.sh +++ b/Linux/scripts/ThirdParty-install.sh @@ -199,12 +199,12 @@ 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 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