[Groonga-commit] groonga/groonga-normalizer-mysql at 6054bcb [master] cmake: add missing "CURRENT"

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Apr 25 11:30:46 JST 2013


Kouhei Sutou	2013-04-25 11:30:46 +0900 (Thu, 25 Apr 2013)

  New Revision: 6054bcb26ea74dc659c827de2afd48c02ca37dfe
  https://github.com/groonga/groonga-normalizer-mysql/commit/6054bcb26ea74dc659c827de2afd48c02ca37dfe

  Message:
    cmake: add missing "CURRENT"
    
    Those paths are asssumed that they exist at the current directory not
    the top directory.

  Modified files:
    CMakeLists.txt

  Modified: CMakeLists.txt (+2 -2)
===================================================================
--- CMakeLists.txt    2013-04-25 11:26:16 +0900 (84410b4)
+++ CMakeLists.txt    2013-04-25 11:30:46 +0900 (d609abb)
@@ -32,9 +32,9 @@ if(GROONGA_NORMALIZER_MYSQL_BUNDLED)
   set(GROONGA_PLUGINS_DIR "${GRN_PLUGINS_DIR}")
 else()
   include(FindPkgConfig)
-  include(${CMAKE_SOURCE_DIR}/build/cmake_modules/ReadFileList.cmake)
+  include(${CMAKE_CURRENT_SOURCE_DIR}/build/cmake_modules/ReadFileList.cmake)
 
-  file(READ ${CMAKE_SOURCE_DIR}/required_groonga_version GROONGA_REQUIRED_VERSION)
+  file(READ ${CMAKE_CURRENT_SOURCE_DIR}/required_groonga_version GROONGA_REQUIRED_VERSION)
   string(STRIP "${GROONGA_REQUIRED_VERSION}" GROONGA_REQUIRED_VERSION)
 
   pkg_check_modules(GROONGA REQUIRED "groonga >= ${GROONGA_REQUIRED_VERSION}")
-------------- next part --------------
HTML����������������������������...
Download 



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