summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/Darwin-GNU.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-01-07 19:23:04 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-01-07 19:23:04 (GMT)
commitc2cde7f1047b2f11e7d4a466000a20d8c42394be (patch)
treeea3733543ae159f8031398db0d874290022f26e5 /Modules/Platform/Darwin-GNU.cmake
parentdb925e3532719af44022b50d2462ac5b050907bc (diff)
parentcc676c3a08019b17433931a9287d9cd8b0ccf2f2 (diff)
downloadCMake-c2cde7f1047b2f11e7d4a466000a20d8c42394be.zip
CMake-c2cde7f1047b2f11e7d4a466000a20d8c42394be.tar.gz
CMake-c2cde7f1047b2f11e7d4a466000a20d8c42394be.tar.bz2
Merge topic 'osx-implicit-link-dirs'
cc676c3 OS X: Detect implicit linker framework search paths 2dd67c7 OS X: Detect implicit link directories on modern toolchains ba58d0c OS X: Link with all framework search paths, not just the last
Diffstat (limited to 'Modules/Platform/Darwin-GNU.cmake')
-rw-r--r--Modules/Platform/Darwin-GNU.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/Platform/Darwin-GNU.cmake b/Modules/Platform/Darwin-GNU.cmake
index d953503..5fee7e3 100644
--- a/Modules/Platform/Darwin-GNU.cmake
+++ b/Modules/Platform/Darwin-GNU.cmake
@@ -19,6 +19,7 @@ endif()
set(__DARWIN_COMPILER_GNU 1)
macro(__darwin_compiler_gnu lang)
+ set(CMAKE_${lang}_VERBOSE_FLAG "-v -Wl,-v") # also tell linker to print verbose output
# GNU does not have -shared on OS X
set(CMAKE_SHARED_LIBRARY_CREATE_${lang}_FLAGS "-dynamiclib -Wl,-headerpad_max_install_names")
set(CMAKE_SHARED_MODULE_CREATE_${lang}_FLAGS "-bundle -Wl,-headerpad_max_install_names")