From 55e0df638b32d8bb9a5b23da84335f9b624aa53b Mon Sep 17 00:00:00 2001 From: Allen Byrne Date: Wed, 2 Jan 2013 12:01:06 -0500 Subject: [svn-r23127] Add MAC options to script in IF(APPLE) block. --- bin/cmakehdf5 | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/bin/cmakehdf5 b/bin/cmakehdf5 index d384fe3..9692a3f 100755 --- a/bin/cmakehdf5 +++ b/bin/cmakehdf5 @@ -96,6 +96,14 @@ set (ADD_BUILD_OPTIONS "-DCMAKE_INSTALL_PREFIX:PATH=/usr/local/hdf5.1.8 -DHDF5_A # ----------------------------------------------------------- set (BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DSITE:STRING=${CTEST_SITE} -DBUILDNAME:STRING=${CTEST_BUILD_NAME}") + +#----------------------------------------------------------------------------- +# MAC machines need special option +#----------------------------------------------------------------------------- +if (APPLE) + set (BUILD_OPTIONS "${BUILD_OPTIONS} -DCTEST_USE_LAUNCHERS:BOOL=ON -DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=OFF") +endif (APPLE) + # ----------------------------------------------------------- find_package (Subversion) @@ -178,7 +186,7 @@ exit_code=$? if [ $exit_code = 0 ]; then echo Complete without error else - echo Error countered + echo Error encountered fi date exit $exit_code -- cgit v0.12