[Groonga-commit] groonga/groonga at 8ed1cac [master] cmake: remove needless "${" and "}"

Back to archive index

Kouhei Sutou null+****@clear*****
Mon May 20 00:47:46 JST 2013


Kouhei Sutou	2013-05-20 00:47:46 +0900 (Mon, 20 May 2013)

  New Revision: 8ed1cac338790918867e5bf8c61a2416971b6bcb
  https://github.com/groonga/groonga/commit/8ed1cac338790918867e5bf8c61a2416971b6bcb

  Message:
    cmake: remove needless "${" and "}"
    
    We should not use "${" and "}" in if() for checking whether the
    variable has valid value.

  Modified files:
    vendor/plugins/CMakeLists.txt

  Modified: vendor/plugins/CMakeLists.txt (+1 -1)
===================================================================
--- vendor/plugins/CMakeLists.txt    2013-05-20 00:41:33 +0900 (b60118c)
+++ vendor/plugins/CMakeLists.txt    2013-05-20 00:47:46 +0900 (845c57f)
@@ -16,7 +16,7 @@
 file(GLOB
   PLUGIN_CMAKE_LISTS_LIST
   "${CMAKE_CURRENT_SOURCE_DIR}/*/CMakeLists.txt")
-if(${PLUGIN_CMAKE_LISTS_LIST})
+if(PLUGIN_CMAKE_LISTS_LIST)
   foreach(PLUGIN_CMAKE_LISTS "${PLUGIN_CMAKE_LISTS_LIST}")
     string(REGEX REPLACE
       "(^${CMAKE_CURRENT_SOURCE_DIR}/+|/+CMakeLists\\.txt$)" ""
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index