[cmake-commits] king committed CMakeGenericSystem.cmake 1.18 1.19
FeatureSummary.cmake 1.1 1.2
cmake-commits at cmake.org
cmake-commits at cmake.org
Thu Jan 17 15:54:51 EST 2008
Update of /cvsroot/CMake/CMake/Modules
In directory public:/mounts/ram/cvs-serv4925/Modules
Modified Files:
CMakeGenericSystem.cmake FeatureSummary.cmake
Log Message:
ENH: Rename SET_PROPERITES command to SET_PROPERTY and give it a more powerful signature.
Index: FeatureSummary.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/FeatureSummary.cmake,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- FeatureSummary.cmake 7 Aug 2007 19:41:56 -0000 1.1
+++ FeatureSummary.cmake 17 Jan 2008 20:54:49 -0000 1.2
@@ -21,12 +21,12 @@
MACRO(SET_FEATURE_INFO _name _desc)
SET(_url "${ARGV2}")
SET(_comment "${ARGV3}")
- SET_PROPERTIES(GLOBAL PROPERTIES ${_name}_DESCRIPTION "${_desc}" )
+ SET_PROPERTY(GLOBAL PROPERTY ${_name}_DESCRIPTION "${_desc}" )
IF(_url MATCHES ".+")
- SET_PROPERTIES(GLOBAL PROPERTIES ${_name}_URL "${_url}" )
+ SET_PROPERTY(GLOBAL PROPERTY ${_name}_URL "${_url}" )
ENDIF(_url MATCHES ".+")
IF(_comment MATCHES ".+")
- SET_PROPERTIES(GLOBAL PROPERTIES ${_name}_COMMENT "${_comment}" )
+ SET_PROPERTY(GLOBAL PROPERTY ${_name}_COMMENT "${_comment}" )
ENDIF(_comment MATCHES ".+")
ENDMACRO(SET_FEATURE_INFO)
Index: CMakeGenericSystem.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/CMakeGenericSystem.cmake,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- CMakeGenericSystem.cmake 28 Aug 2007 20:19:01 -0000 1.18
+++ CMakeGenericSystem.cmake 17 Jan 2008 20:54:49 -0000 1.19
@@ -21,7 +21,7 @@
SET(CMAKE_FIND_LIBRARY_SUFFIXES ".so" ".a")
# basically all general purpose OSs support shared libs
-SET_PROPERTIES(GLOBAL PROPERTIES TARGET_SUPPORTS_SHARED_LIBS TRUE)
+SET_PROPERTY(GLOBAL PROPERTY 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