Add the flat_namespace and undefined suppress flags to OSX builds
This commit is contained in:
parent
11084af423
commit
cca166080c
Templates
|
@ -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=":"
|
||||
|
|
|
@ -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=":"
|
||||
|
|
Loading…
Reference in New Issue