[Cmake-commits] [cmake-commits] king committed SunOS.cmake 1.24 1.25

cmake-commits at cmake.org cmake-commits at cmake.org
Wed Apr 30 14:13:13 EDT 2008


Update of /cvsroot/CMake/CMake/Modules/Platform
In directory public:/mounts/ram/cvs-serv22118

Modified Files:
	SunOS.cmake 
Log Message:
ENH: Make /opt/SUNWspro/lib, /opt/SUNWspro/prod/lib, and /usr/ccs/lib implicit link directories on the Sun when using the SunPro compiler.


Index: SunOS.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/Platform/SunOS.cmake,v
retrieving revision 1.24
retrieving revision 1.25
diff -C 2 -d -r1.24 -r1.25
*** SunOS.cmake	27 Feb 2008 19:31:09 -0000	1.24
--- SunOS.cmake	30 Apr 2008 18:13:11 -0000	1.25
***************
*** 63,66 ****
--- 63,72 ----
  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("${CMAKE_C_COMPILER_ID} ${CMAKE_CXX_COMPILER_ID}" MATCHES SunPro)
+ 
  IF(NOT CMAKE_COMPILER_IS_GNUCC)
    SET (CMAKE_C_CREATE_PREPROCESSED_SOURCE "<CMAKE_C_COMPILER> <DEFINES> <FLAGS> -E <SOURCE> > <PREPROCESSED_SOURCE>")



More information about the Cmake-commits mailing list