diff options
Diffstat (limited to 'Modules/Platform/SunOS.cmake')
-rw-r--r-- | Modules/Platform/SunOS.cmake | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Modules/Platform/SunOS.cmake b/Modules/Platform/SunOS.cmake index 85e3d38..f6c9d2e 100644 --- a/Modules/Platform/SunOS.cmake +++ b/Modules/Platform/SunOS.cmake @@ -98,3 +98,9 @@ ELSE(CMAKE_COMPILER_IS_GNUCXX) SET(CMAKE_${type}_LINK_DYNAMIC_CXX_FLAGS "-Bdynamic") ENDFOREACH(type) ENDIF(CMAKE_COMPILER_IS_GNUCXX) + +# The Sun linker needs to find transitive shared library dependencies +# in the -L path. +SET(CMAKE_LINK_DEPENDENT_LIBRARY_DIRS 1) + + |