diff options
author | Brad King <brad.king@kitware.com> | 2013-06-03 13:57:08 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2013-06-03 13:57:08 (GMT) |
commit | 406d270c7b8a759e60268a12f16aa2a4bac0cfdb (patch) | |
tree | d05e1a2540f72f465d64f7a71c883276d197001a | |
parent | 6d4e79e2c361084ae26a8961ac9936052d68fde9 (diff) | |
parent | a2099a8e8d2b97d2a2f91cbc06a4078f7c5b7139 (diff) | |
download | CMake-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.cmake | 2 |
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() |