diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-03-28 13:54:01 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-03-28 13:54:01 (GMT) |
commit | 40272a16bd99b2a099cb3ef910f6d70c7c3a6f65 (patch) | |
tree | 3834eae44422f7342369ae285f2daa99e66eb0bc /Modules/Platform | |
parent | 5d722df21f76087d80603b1df3a6be628c3e1693 (diff) | |
download | CMake-40272a16bd99b2a099cb3ef910f6d70c7c3a6f65.zip CMake-40272a16bd99b2a099cb3ef910f6d70c7c3a6f65.tar.gz CMake-40272a16bd99b2a099cb3ef910f6d70c7c3a6f65.tar.bz2 |
ENH: Add support for adding content to bundles
Diffstat (limited to 'Modules/Platform')
-rw-r--r-- | Modules/Platform/Darwin.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/Platform/Darwin.cmake b/Modules/Platform/Darwin.cmake index 7d18906..4ca7d49 100644 --- a/Modules/Platform/Darwin.cmake +++ b/Modules/Platform/Darwin.cmake @@ -47,6 +47,8 @@ IF(NOT XCODE) SET(CMAKE_SHARED_LIBRARY_SONAME_CXX_FLAG "-install_name") ENDIF(NOT XCODE) +SET(CMAKE_MacOSX_Content_COMPILE_OBJECT "\"${CMAKE_COMMAND}\" -E copy_if_different <SOURCE> <OBJECT>") + SET(CMAKE_C_CREATE_SHARED_LIBRARY_FORBIDDEN_FLAGS -w) SET(CMAKE_CXX_CREATE_SHARED_LIBRARY_FORBIDDEN_FLAGS -w) SET(CMAKE_C_CREATE_SHARED_LIBRARY |