[Groonga-commit] groonga/groonga at e8815f9 [master] cmake windows: support building not tagged version

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Apr 19 21:44:47 JST 2016


Kouhei Sutou	2016-04-19 21:44:47 +0900 (Tue, 19 Apr 2016)

  New Revision: e8815f92cc7b01f0416e9c4a5dfe1458f269b7b5
  https://github.com/groonga/groonga/commit/e8815f92cc7b01f0416e9c4a5dfe1458f269b7b5

  Message:
    cmake windows: support building not tagged version
    
    GitHub: fix #530
    
    Reported by Hiroshi Hatake. Thanks!!!

  Modified files:
    CMakeLists.txt

  Modified: CMakeLists.txt (+1 -0)
===================================================================
--- CMakeLists.txt    2016-04-19 11:40:12 +0900 (ade81b5)
+++ CMakeLists.txt    2016-04-19 21:44:47 +0900 (cc893ac)
@@ -61,6 +61,7 @@ else()
 endif()
 string(REGEX REPLACE "(^.*=|\n)" "" GRN_VERSION "${GRN_VERSION}")
 string(REGEX REPLACE "\\." "," GRN_VERSION_RC "${GRN_VERSION}")
+string(REGEX REPLACE "-.*$" "" GRN_VERSION_RC "${GRN_VERSION_RC}")
 
 include(CheckIncludeFile)
 include(CheckFunctionExists)
-------------- next part --------------
HTML����������������������������...
Télécharger 



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