diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2007-05-08 14:32:54 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2007-05-08 14:32:54 (GMT) |
commit | 9323a2798973b3dbe8ca9725f1cb5c8ff6d5900b (patch) | |
tree | adf91f5e20d08609ec5c83ec09376fdc9e168f46 /Modules/Platform | |
parent | 96232d405236231e6f4ba858a70621da9066f26c (diff) | |
download | CMake-9323a2798973b3dbe8ca9725f1cb5c8ff6d5900b.zip CMake-9323a2798973b3dbe8ca9725f1cb5c8ff6d5900b.tar.gz CMake-9323a2798973b3dbe8ca9725f1cb5c8ff6d5900b.tar.bz2 |
ENH: initial support for creation of frameworks on Mac
Diffstat (limited to 'Modules/Platform')
-rw-r--r-- | Modules/Platform/Darwin.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/Platform/Darwin.cmake b/Modules/Platform/Darwin.cmake index 11f76d6..adff353 100644 --- a/Modules/Platform/Darwin.cmake +++ b/Modules/Platform/Darwin.cmake @@ -76,6 +76,11 @@ SET(CMAKE_C_CREATE_SHARED_MODULE SET(CMAKE_Fortran_CREATE_SHARED_MODULE "<CMAKE_Fortran_COMPILER> <LANGUAGE_COMPILE_FLAGS> <CMAKE_SHARED_MODULE_CREATE_Fortran_FLAGS> <LINK_FLAGS> -o <TARGET> <OBJECTS> <LINK_LIBRARIES>") +SET(CMAKE_C_CREATE_MACOSX_FRAMEWORK + "<CMAKE_C_COMPILER> <LANGUAGE_COMPILE_FLAGS> <CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS> <LINK_FLAGS> -o <TARGET> -install_name <TARGET_INSTALLNAME_DIR><TARGET_SONAME> <OBJECTS> <LINK_LIBRARIES>") +SET(CMAKE_CXX_CREATE_MACOSX_FRAMEWORK + "<CMAKE_CXX_COMPILER> <LANGUAGE_COMPILE_FLAGS> <CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS> <LINK_FLAGS> -o <TARGET> -install_name <TARGET_INSTALLNAME_DIR><TARGET_SONAME> <OBJECTS> <LINK_LIBRARIES>") + SET(CMAKE_PLATFORM_IMPLICIT_INCLUDE_DIRECTORIES /usr/local/include) |