summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-02-15 18:12:31 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-02-15 18:12:31 (GMT)
commite85f1c28d4e709bf468cd1d146f71d528f408582 (patch)
tree307f320ee0860b044eeee125c70b3e56eb20a9dd /Modules
parentffdf57d9f5f0fc6c64e3c4ec32cc7630576770ab (diff)
parent95a9c80cacea50e2b5d52d67d0a7f5c9b50192dd (diff)
downloadCMake-e85f1c28d4e709bf468cd1d146f71d528f408582.zip
CMake-e85f1c28d4e709bf468cd1d146f71d528f408582.tar.gz
CMake-e85f1c28d4e709bf468cd1d146f71d528f408582.tar.bz2
Merge topic 'rpath-use-implicit-link-dirs'
95a9c80 Merge topic 'LINK_LIBRARIES-property' into rpath-use-implicit-link-dirs baa33ac AIX-GNU: Put implicit link directories in runtime libpath (#13909) 171b099 Avoid duplicate RPATH entries
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Platform/AIX-GNU.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/Platform/AIX-GNU.cmake b/Modules/Platform/AIX-GNU.cmake
index 81ba365..a73a7a2 100644
--- a/Modules/Platform/AIX-GNU.cmake
+++ b/Modules/Platform/AIX-GNU.cmake
@@ -23,4 +23,5 @@ macro(__aix_compiler_gnu lang)
set(CMAKE_SHARED_LIBRARY_RUNTIME_${lang}_FLAG_SEP ":")
set(CMAKE_SHARED_LIBRARY_CREATE_${lang}_FLAGS "${CMAKE_SHARED_LIBRARY_CREATE_${lang}_FLAGS} -Wl,-G,-brtl,-bnoipath")
set(CMAKE_SHARED_LIBRARY_LINK_${lang}_FLAGS "-Wl,-brtl,-bnoipath,-bexpall") # +s, flag for exe link to use shared lib
+ set(CMAKE_${lang}_USE_IMPLICIT_LINK_DIRECTORIES_IN_RUNTIME_PATH 1)
endmacro()