diff options
Diffstat (limited to 'Modules/Platform/SunOS.cmake')
-rw-r--r-- | Modules/Platform/SunOS.cmake | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Modules/Platform/SunOS.cmake b/Modules/Platform/SunOS.cmake index f6c9d2e..9bd8b09 100644 --- a/Modules/Platform/SunOS.cmake +++ b/Modules/Platform/SunOS.cmake @@ -103,4 +103,6 @@ ENDIF(CMAKE_COMPILER_IS_GNUCXX) # in the -L path. SET(CMAKE_LINK_DEPENDENT_LIBRARY_DIRS 1) - +# Shared libraries with no builtin soname may not be linked safely by +# specifying the file path. +SET(CMAKE_PLATFORM_USES_PATH_WHEN_NO_SONAME 1) |