[Groonga-commit] groonga/groonga at 51dd6d1 [master] cmake: add empty glob result check

Back to archive index

Kouhei Sutou null+****@clear*****
Sun May 19 18:33:29 JST 2013


Kouhei Sutou	2013-05-19 18:33:29 +0900 (Sun, 19 May 2013)

  New Revision: 51dd6d1a801b23b433b645a81caa74d257672509
  https://github.com/groonga/groonga/commit/51dd6d1a801b23b433b645a81caa74d257672509

  Message:
    cmake: add empty glob result check

  Modified files:
    vendor/plugins/CMakeLists.txt

  Modified: vendor/plugins/CMakeLists.txt (+2 -0)
===================================================================
--- vendor/plugins/CMakeLists.txt    2013-05-19 09:57:15 +0900 (2fa04fb)
+++ vendor/plugins/CMakeLists.txt    2013-05-19 18:33:29 +0900 (65f166c)
@@ -16,6 +16,7 @@
 file(GLOB
   PLUGIN_CMAKE_LISTS_LIST
   "${CMAKE_CURRENT_SOURCE_DIR}/*/CMakeLists.txt")
+if(${PLUGIN_CMAKE_LISTS_LIST})
 foreach(PLUGIN_CMAKE_LISTS "${PLUGIN_CMAKE_LISTS_LIST}")
   string(REGEX REPLACE
     "(^${CMAKE_CURRENT_SOURCE_DIR}/+|/+CMakeLists\\.txt$)" ""
@@ -23,3 +24,4 @@ foreach(PLUGIN_CMAKE_LISTS "${PLUGIN_CMAKE_LISTS_LIST}")
     "${PLUGIN_CMAKE_LISTS}")
   add_subdirectory("${PLUGIN_DIR}")
 endforeach(PLUGIN_CMAKE_LISTS)
+endif()
-------------- next part --------------
HTML����������������������������...
Download 



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