STYLE: change global cmake variable CMAKE_TARGET_SUPPORTS_ONLY_STATIC_LIBS

to the first global cmake property TARGET_SUPPORTS_SHARED_LIBS

Alex
This commit is contained in:
Alexander Neundorf
2007-06-26 13:05:27 -04:00
parent 5fb7dab541
commit f8261ff9f7
6 changed files with 23 additions and 4 deletions

View File

@@ -20,7 +20,7 @@ SET(CMAKE_FIND_LIBRARY_PREFIXES "lib")
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.")