summaryrefslogtreecommitdiffstats
path: root/Templates
diff options
context:
space:
mode:
authorYves Starreveld <ystarrev@uwo.ca>2001-12-04 23:49:02 (GMT)
committerYves Starreveld <ystarrev@uwo.ca>2001-12-04 23:49:02 (GMT)
commitcca166080c0f85a87ce84383e1092e913d4cad07 (patch)
treecfeab025dff47d4438422748ace942246b0cd32c /Templates
parent11084af42361ab4db3347dd35d33e169dae5fdf7 (diff)
downloadCMake-cca166080c0f85a87ce84383e1092e913d4cad07.zip
CMake-cca166080c0f85a87ce84383e1092e913d4cad07.tar.gz
CMake-cca166080c0f85a87ce84383e1092e913d4cad07.tar.bz2
Add the flat_namespace and undefined suppress flags to OSX builds
Diffstat (limited to 'Templates')
-rwxr-xr-xTemplates/configure2
-rw-r--r--Templates/configure.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/Templates/configure b/Templates/configure
index 6c15a69..3ee74da 100755
--- a/Templates/configure
+++ b/Templates/configure
@@ -2291,7 +2291,7 @@ fi
CMAKE_DL_LIBS=""
CMAKE_SHLIB_BUILD_FLAGS="-dynamiclib"
CMAKE_SHLIB_LINK_FLAGS=""
- CMAKE_MODULE_BUILD_FLAGS="-bundle"
+ CMAKE_MODULE_BUILD_FLAGS="-bundle -flat_namespace -undefined suppress"
CMAKE_MODULE_LINK_FLAGS=""
CMAKE_SHLIB_RUNTIME_FLAG=""
CMAKE_SHLIB_RUNTIME_SEP=":"
diff --git a/Templates/configure.in b/Templates/configure.in
index c74091b..88ae78c 100644
--- a/Templates/configure.in
+++ b/Templates/configure.in
@@ -137,7 +137,7 @@ case $system in
CMAKE_DL_LIBS=""
CMAKE_SHLIB_BUILD_FLAGS="-dynamiclib"
CMAKE_SHLIB_LINK_FLAGS=""
- CMAKE_MODULE_BUILD_FLAGS="-bundle"
+ CMAKE_MODULE_BUILD_FLAGS="-bundle -flat_namespace -undefined suppress"
CMAKE_MODULE_LINK_FLAGS=""
CMAKE_SHLIB_RUNTIME_FLAG=""
CMAKE_SHLIB_RUNTIME_SEP=":"