[Cmake-commits] CMake branch, next, updated. v2.8.9-1161-g11e0389

Brad King brad.king at kitware.com
Fri Oct 19 13:51:02 EDT 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".

The branch, next has been updated
       via  11e0389572152001ea3235071d6e4c6a2f4cdf64 (commit)
       via  1cd2ec1072bb5508293aff602f2bc320660daf87 (commit)
      from  7296b7d5132082634110eb9d20d1f8860c3a68b3 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=11e0389572152001ea3235071d6e4c6a2f4cdf64
commit 11e0389572152001ea3235071d6e4c6a2f4cdf64
Merge: 7296b7d 1cd2ec1
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Fri Oct 19 13:50:54 2012 -0400
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Fri Oct 19 13:50:54 2012 -0400

    Merge topic 'fix-SelectLibraryConfigurations-regression' into next
    
    1cd2ec1 SelectLibraryConfigurations: Fix foreach(x IN LISTS ...) syntax


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=1cd2ec1072bb5508293aff602f2bc320660daf87
commit 1cd2ec1072bb5508293aff602f2bc320660daf87
Author:     Thomas Arcila <thomas.arcila at gmail.com>
AuthorDate: Fri Oct 19 13:44:46 2012 -0400
Commit:     Brad King <brad.king at kitware.com>
CommitDate: Fri Oct 19 13:47:26 2012 -0400

    SelectLibraryConfigurations: Fix foreach(x IN LISTS ...) syntax
    
    In commit 5797512c (SelectLibraryConfiguration: generate correct output
    when input vars are lists, 2012-07-28) the "IN" keyword was left out.

diff --git a/Modules/SelectLibraryConfigurations.cmake b/Modules/SelectLibraryConfigurations.cmake
index dbff487..da927c9 100644
--- a/Modules/SelectLibraryConfigurations.cmake
+++ b/Modules/SelectLibraryConfigurations.cmake
@@ -54,10 +54,10 @@ macro( select_library_configurations basename )
         # is set, then set optimized and debug options.
         if( CMAKE_CONFIGURATION_TYPES OR CMAKE_BUILD_TYPE )
             set( ${basename}_LIBRARY )
-            foreach( _libname LISTS ${basename}_LIBRARY_RELEASE )
+            foreach( _libname IN LISTS ${basename}_LIBRARY_RELEASE )
                 list( APPEND ${basename}_LIBRARY optimized "${_libname}" )
             endforeach()
-            foreach( _libname LISTS ${basename}_LIBRARY_DEBUG )
+            foreach( _libname IN LISTS ${basename}_LIBRARY_DEBUG )
                 list( APPEND ${basename}_LIBRARY debug "${_libname}" )
             endforeach()
             set( ${basename}_LIBRARIES "${${basename}_LIBRARY}" )

-----------------------------------------------------------------------

Summary of changes:
 Modules/SelectLibraryConfigurations.cmake |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list