summaryrefslogtreecommitdiffstats
path: root/bin/cmakehdf5
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2013-01-02 17:01:06 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2013-01-02 17:01:06 (GMT)
commit55e0df638b32d8bb9a5b23da84335f9b624aa53b (patch)
treec3d29c9e7f7ee30b2ba0b27c66f94b4d24aa52a0 /bin/cmakehdf5
parent72e8ef707bf3b84966627c8c5e51b33f8a25f230 (diff)
downloadhdf5-55e0df638b32d8bb9a5b23da84335f9b624aa53b.zip
hdf5-55e0df638b32d8bb9a5b23da84335f9b624aa53b.tar.gz
hdf5-55e0df638b32d8bb9a5b23da84335f9b624aa53b.tar.bz2
[svn-r23127] Add MAC options to script in IF(APPLE) block.
Diffstat (limited to 'bin/cmakehdf5')
-rwxr-xr-xbin/cmakehdf510
1 files changed, 9 insertions, 1 deletions
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