diff options
author | Brad King <brad.king@kitware.com> | 2015-08-27 14:03:58 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2015-08-27 14:03:58 (GMT) |
commit | ba6533e658f63d9446993882788f03263d32fe1b (patch) | |
tree | f940b55669166e2536bc4dd61b1dff9080e095db /Modules | |
parent | ef0bf87939d40c3a42129c82e3233fd9a27a5da8 (diff) | |
parent | 67f60958b61941264b0e2a63ad527dd346a6b1e3 (diff) | |
download | CMake-ba6533e658f63d9446993882788f03263d32fe1b.zip CMake-ba6533e658f63d9446993882788f03263d32fe1b.tar.gz CMake-ba6533e658f63d9446993882788f03263d32fe1b.tar.bz2 |
Merge topic 'apple-tbd-stubs'
67f60958 Darwin: Add support for tbd library stub files
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/Platform/Darwin.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Platform/Darwin.cmake b/Modules/Platform/Darwin.cmake index 4e4810a..bb085ac 100644 --- a/Modules/Platform/Darwin.cmake +++ b/Modules/Platform/Darwin.cmake @@ -53,7 +53,7 @@ set(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-dynamiclib -Wl,-headerpad_max_install_ set(CMAKE_SHARED_MODULE_CREATE_C_FLAGS "-bundle -Wl,-headerpad_max_install_names") set(CMAKE_SHARED_MODULE_LOADER_C_FLAG "-Wl,-bundle_loader,") set(CMAKE_SHARED_MODULE_LOADER_CXX_FLAG "-Wl,-bundle_loader,") -set(CMAKE_FIND_LIBRARY_SUFFIXES ".dylib" ".so" ".a") +set(CMAKE_FIND_LIBRARY_SUFFIXES ".tbd" ".dylib" ".so" ".a") # hack: if a new cmake (which uses CMAKE_INSTALL_NAME_TOOL) runs on an old build tree # (where install_name_tool was hardcoded) and where CMAKE_INSTALL_NAME_TOOL isn't in the cache |