summaryrefslogtreecommitdiffstats
path: root/Modules/Platform
diff options
context:
space:
mode:
authorApril Chin <chin.oracle@gmail.com>2015-11-13 19:35:58 (GMT)
committerBrad King <brad.king@kitware.com>2015-11-16 15:41:10 (GMT)
commit6772913fff10d59b38ccec6c1104008c8a21f7f7 (patch)
tree40bda4f841affecf68b192f032b09d36964419d1 /Modules/Platform
parent30b0db7bb5482258ccdb96d2f0b7aadb5d3b23ac (diff)
downloadCMake-6772913fff10d59b38ccec6c1104008c8a21f7f7.zip
CMake-6772913fff10d59b38ccec6c1104008c8a21f7f7.tar.gz
CMake-6772913fff10d59b38ccec6c1104008c8a21f7f7.tar.bz2
SunOS: Remove obsolete Studio compiler library directories
Our CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES setting is no longer needed because CMAKE_<LANG>_IMPLICIT_LINK_DIRECTORIES is now populated with the actual implicit link directories for the current toolchain. The old values we hard-coded in CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES are not relevant to modern toolchains, so simply drop them. Co-Author: Shawn Walker-Salas <shawn.walker@oracle.com>
Diffstat (limited to 'Modules/Platform')
-rw-r--r--Modules/Platform/SunOS.cmake6
1 files changed, 0 insertions, 6 deletions
diff --git a/Modules/Platform/SunOS.cmake b/Modules/Platform/SunOS.cmake
index 77946f2..58398c0 100644
--- a/Modules/Platform/SunOS.cmake
+++ b/Modules/Platform/SunOS.cmake
@@ -9,12 +9,6 @@ endif()
include(Platform/UnixPaths)
-# Add the compiler's implicit link directories.
-if("${CMAKE_C_COMPILER_ID} ${CMAKE_CXX_COMPILER_ID}" MATCHES SunPro)
- list(APPEND CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES
- /opt/SUNWspro/lib /opt/SUNWspro/prod/lib /usr/ccs/lib)
-endif()
-
# The Sun linker needs to find transitive shared library dependencies
# in the -L path.
set(CMAKE_LINK_DEPENDENT_LIBRARY_DIRS 1)