[Cmake-commits] CMake branch, next, updated. v3.1.0-1482-gc0dec59

Rolf Eike Beer eike at sf-mail.de
Sun Jan 4 08:29:06 EST 2015


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  c0dec596d1fadce47a9188a2a7f1b53c62852b72 (commit)
       via  939198a53bb6ad9a2600b357fb69a47f8d344cfd (commit)
      from  2890d2caa2a4c95518f72371bb57fb959e97419e (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=c0dec596d1fadce47a9188a2a7f1b53c62852b72
commit c0dec596d1fadce47a9188a2a7f1b53c62852b72
Merge: 2890d2c 939198a
Author:     Rolf Eike Beer <eike at sf-mail.de>
AuthorDate: Sun Jan 4 08:29:05 2015 -0500
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Sun Jan 4 08:29:05 2015 -0500

    Merge topic 'FindICE-no-quote' into next
    
    939198a5 FindICE: remove quoting of variable names that must be dereferenced


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=939198a53bb6ad9a2600b357fb69a47f8d344cfd
commit 939198a53bb6ad9a2600b357fb69a47f8d344cfd
Author:     Rolf Eike Beer <eike at sf-mail.de>
AuthorDate: Sun Jan 4 14:06:14 2015 +0100
Commit:     Rolf Eike Beer <eike at sf-mail.de>
CommitDate: Sun Jan 4 14:28:32 2015 +0100

    FindICE: remove quoting of variable names that must be dereferenced

diff --git a/Modules/FindIce.cmake b/Modules/FindIce.cmake
index 76cecc1..8493d80 100644
--- a/Modules/FindIce.cmake
+++ b/Modules/FindIce.cmake
@@ -282,21 +282,21 @@ function(_Ice_FIND)
       PATH_SUFFIXES ${ice_library_suffixes}
       DOC "Ice ${component} library")
     mark_as_advanced("${component_cache}")
-    if("${component_cache}")
+    if(${component_cache})
       set("${component_found}" ON)
       list(APPEND Ice_LIBRARY "${${component_cache}}")
     endif()
     mark_as_advanced("${component_found}")
     set("${component_cache}" "${${component_cache}}" PARENT_SCOPE)
     set("${component_found}" "${${component_found}}" PARENT_SCOPE)
-    if("${component_found}")
-      if ("Ice_FIND_REQUIRED_${component}")
+    if(${component_found})
+      if (Ice_FIND_REQUIRED_${component})
         list(APPEND Ice_LIBS_FOUND "${component} (required)")
       else()
         list(APPEND Ice_LIBS_FOUND "${component} (optional)")
       endif()
     else()
-      if ("Ice_FIND_REQUIRED_${component}")
+      if (Ice_FIND_REQUIRED_${component})
         set(Ice_REQUIRED_LIBS_FOUND OFF)
         list(APPEND Ice_LIBS_NOTFOUND "${component} (required)")
       else()
@@ -356,7 +356,7 @@ if(Ice_FOUND)
     set(_Ice_component_cache "Ice_${_Ice_component_upcase}_LIBRARY")
     set(_Ice_component_lib "Ice_${_Ice_component_upcase}_LIBRARIES")
     set(_Ice_component_found "${_Ice_component_upcase}_FOUND")
-    if("${_Ice_component_found}")
+    if(${_Ice_component_found})
       set("${_Ice_component_lib}" "${${_Ice_component_cache}}")
     endif()
     unset(_Ice_component_upcase)

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

Summary of changes:
 Modules/FindIce.cmake |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list