Hello, The following patch has been tested with cmake 3.3.2 built on Solaris.
It removes obsolete link directories from SunOS.cmake. Studio compilers no longer install any content to these directories by default when you install the Studio package. The C++ compiler should automatically do the right thing with regards to linking. The changes were created by Shawn Walker-Salas at Oracle. Thanks, April Chin
From 94fc4f94337be059e9e99bf5ae5ad377370ca0e2 Mon Sep 17 00:00:00 2001 From: April Chin <[email protected]> Date: Fri, 13 Nov 2015 11:35:58 -0800 Subject: [PATCH] Remove obsolete Studio compiler library directories --- Modules/Platform/SunOS.cmake | 6 ------ 1 file changed, 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) -- 2.6.1
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers
