summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-06-03 13:57:08 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-06-03 13:57:08 (GMT)
commit406d270c7b8a759e60268a12f16aa2a4bac0cfdb (patch)
treed05e1a2540f72f465d64f7a71c883276d197001a
parent6d4e79e2c361084ae26a8961ac9936052d68fde9 (diff)
parenta2099a8e8d2b97d2a2f91cbc06a4078f7c5b7139 (diff)
downloadCMake-406d270c7b8a759e60268a12f16aa2a4bac0cfdb.zip
CMake-406d270c7b8a759e60268a12f16aa2a4bac0cfdb.tar.gz
CMake-406d270c7b8a759e60268a12f16aa2a4bac0cfdb.tar.bz2
Merge topic 'SelectLibraryConfigurations-cached-library'
a2099a8 SelectLibraryConfigurations: Fix for cached <base>_LIBRARY
-rw-r--r--Modules/SelectLibraryConfigurations.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/SelectLibraryConfigurations.cmake b/Modules/SelectLibraryConfigurations.cmake
index 62137bb..5bca064 100644
--- a/Modules/SelectLibraryConfigurations.cmake
+++ b/Modules/SelectLibraryConfigurations.cmake
@@ -62,7 +62,7 @@ macro( select_library_configurations basename )
# if the generator supports configuration types or CMAKE_BUILD_TYPE
# is set, then set optimized and debug options.
if( CMAKE_CONFIGURATION_TYPES OR CMAKE_BUILD_TYPE )
- set( ${basename}_LIBRARY )
+ set( ${basename}_LIBRARY "" )
foreach( _libname IN LISTS ${basename}_LIBRARY_RELEASE )
list( APPEND ${basename}_LIBRARY optimized "${_libname}" )
endforeach()