diff options
author | Brad King <brad.king@kitware.com> | 2008-02-01 14:57:41 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-02-01 14:57:41 (GMT) |
commit | f49ec94e9f4e90a1c65048c1a587469ece5ee05a (patch) | |
tree | b0a63c250f28bad620fd0ce1f7ceb9206b9d992c /Modules/Platform/IRIX64.cmake | |
parent | 65761dee552eed39ba2b93d210dbc257f9a2ce50 (diff) | |
download | CMake-f49ec94e9f4e90a1c65048c1a587469ece5ee05a.zip CMake-f49ec94e9f4e90a1c65048c1a587469ece5ee05a.tar.gz CMake-f49ec94e9f4e90a1c65048c1a587469ece5ee05a.tar.bz2 |
ENH: Enable dependent library search paths on more platforms
- HP-UX needs dependent library paths as -L options.
- IRIX needs dependent library paths as -L options.
- Sun needs dependent library paths as -L options.
- FreeBSD needs dependent library paths in -rpath-link option.
Diffstat (limited to 'Modules/Platform/IRIX64.cmake')
-rw-r--r-- | Modules/Platform/IRIX64.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/Platform/IRIX64.cmake b/Modules/Platform/IRIX64.cmake index 5df3e06..982619a 100644 --- a/Modules/Platform/IRIX64.cmake +++ b/Modules/Platform/IRIX64.cmake @@ -70,3 +70,6 @@ FOREACH(type SHARED_LIBRARY SHARED_MODULE EXE) SET(CMAKE_${type}_LINK_DYNAMIC_C_FLAGS "-Wl,-Bdynamic") ENDFOREACH(type) +# The IRIX linker needs to find transitive shared library dependencies +# in the -L path. +SET(CMAKE_LINK_DEPENDENT_LIBRARY_DIRS 1) |