[Groonga-commit] groonga/groonga at 6a9e090 [master] cmake: fix grndb build options

Back to archive index

Kouhei Sutou null+****@clear*****
Mon May 23 11:56:24 JST 2016


Kouhei Sutou	2016-05-23 11:56:24 +0900 (Mon, 23 May 2016)

  New Revision: 6a9e090e9fa1cf4c15426acd6e55eb2ed7f29cb1
  https://github.com/groonga/groonga/commit/6a9e090e9fa1cf4c15426acd6e55eb2ed7f29cb1

  Message:
    cmake: fix grndb build options

  Modified files:
    src/CMakeLists.txt

  Modified: src/CMakeLists.txt (+4 -1)
===================================================================
--- src/CMakeLists.txt    2016-05-23 11:43:10 +0900 (e08f17f)
+++ src/CMakeLists.txt    2016-05-23 11:56:24 +0900 (57bded2)
@@ -31,9 +31,12 @@ install(TARGETS groonga DESTINATION ${BIN_DIR})
 if(GRN_WITH_MRUBY)
   read_file_list(${CMAKE_CURRENT_SOURCE_DIR}/grndb_sources.am GRNDB_SOURCES)
   add_executable(grndb ${GRNDB_SOURCES})
-  set_source_files_properties(${GRN_SOURCES}
+  set_source_files_properties(${GRNDB_SOURCES}
     PROPERTIES
     COMPILE_FLAGS "${GRN_C_COMPILE_FLAGS}")
+  set_source_files_properties(${GRNDB_SOURCES}
+    PROPERTIES
+    COMPILE_DEFINITIONS "${MRUBY_DEFINITIONS}")
   target_link_libraries(grndb libgroonga)
   install(TARGETS grndb DESTINATION ${BIN_DIR})
 endif()
-------------- next part --------------
HTML����������������������������...
下載 



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