[cmake-commits] alex committed CMakeGenericSystem.cmake 1.15 1.16

cmake-commits at cmake.org cmake-commits at cmake.org
Tue Jun 26 13:05:29 EDT 2007


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

Modified Files:
	CMakeGenericSystem.cmake 
Log Message:

STYLE: change global cmake variable CMAKE_TARGET_SUPPORTS_ONLY_STATIC_LIBS
to the first global cmake property TARGET_SUPPORTS_SHARED_LIBS

Alex


Index: CMakeGenericSystem.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/CMakeGenericSystem.cmake,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- CMakeGenericSystem.cmake	21 Jun 2007 20:23:54 -0000	1.15
+++ CMakeGenericSystem.cmake	26 Jun 2007 17:05:27 -0000	1.16
@@ -20,7 +20,7 @@
 SET(CMAKE_FIND_LIBRARY_SUFFIXES ".so" ".a")
 
 # basically all general purpose OSs support shared libs
-SET(CMAKE_TARGET_SUPPORTS_ONLY_STATIC_LIBS FALSE)
+SET_PROPERTIES(GLOBAL PROPERTIES TARGET_SUPPORTS_SHARED_LIBS TRUE)
 
 SET (CMAKE_SKIP_RPATH "NO" CACHE BOOL
      "If set, runtime paths are not added when using shared libraries.")



More information about the Cmake-commits mailing list