[Groonga-mysql-commit] mroonga/mroonga at ecb1861 [master] cmake: skip Mroonga related configurations on without Mroonga build

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Nov 21 00:50:46 JST 2017


Kouhei Sutou	2017-11-21 00:50:46 +0900 (Tue, 21 Nov 2017)

  New Revision: ecb1861f97993d9756832f4c06d4c7491cbca614
  https://github.com/mroonga/mroonga/commit/ecb1861f97993d9756832f4c06d4c7491cbca614

  Message:
    cmake: skip Mroonga related configurations on without Mroonga build
    
    https://github.com/MariaDB/server/commit/7128fefa4ce4746ad04158846242f0aec6cf8271
    
    Patch by Vladislav Vaintroub. Thanks!!!

  Modified files:
    CMakeLists.txt

  Modified: CMakeLists.txt (+3 -0)
===================================================================
--- CMakeLists.txt    2017-11-21 00:12:18 +0900 (bd6c00f0)
+++ CMakeLists.txt    2017-11-21 00:50:46 +0900 (cb7e60af)
@@ -336,6 +336,9 @@ if(MRN_BUNDLED)
     ${MRN_ALL_SOURCES}
     STORAGE_ENGINE MODULE_ONLY
     LINK_LIBRARIES ${MRN_LIBRARIES})
+  if(NOT TARGET mroonga)
+    return()
+  endif()
 else()
   add_library(mroonga MODULE ${MRN_ALL_SOURCES})
 
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-mysql-commit/attachments/20171121/251b9fe4/attachment.htm 



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