Kouhei Sutou
null+****@clear*****
Thu Mar 5 00:24:35 JST 2015
Kouhei Sutou 2015-03-05 00:24:35 +0900 (Thu, 05 Mar 2015) New Revision: 3e2af73c88a07f5489cfe24a963817d6aaa916e1 https://github.com/groonga/groonga/commit/3e2af73c88a07f5489cfe24a963817d6aaa916e1 Message: cmake: don't run needless code Modified files: vendor/mruby/CMakeLists.txt Modified: vendor/mruby/CMakeLists.txt (+7 -7) =================================================================== --- vendor/mruby/CMakeLists.txt 2015-03-05 00:24:08 +0900 (c8edb79) +++ vendor/mruby/CMakeLists.txt 2015-03-05 00:24:35 +0900 (89bd4d8) @@ -13,16 +13,16 @@ # License along with this library; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -add_definitions( - -DDISABLE_GEMS - ) +if(GRN_WITH_MRUBY) + add_definitions( + -DDISABLE_GEMS + ) -include_directories( - "${CMAKE_CURRENT_SOURCE_DIR}/../mruby-source/include" - "${CMAKE_CURRENT_SOURCE_DIR}/../mruby-source/src" + include_directories( + "${CMAKE_CURRENT_SOURCE_DIR}/../mruby-source/include" + "${CMAKE_CURRENT_SOURCE_DIR}/../mruby-source/src" ) -if(GRN_WITH_MRUBY) read_file_list("${CMAKE_CURRENT_SOURCE_DIR}/sources.am" MRUBY_SOURCES) string(REGEX REPLACE "\\.\\./" "${CMAKE_CURRENT_SOURCE_DIR}/../" MRUBY_SOURCES "${MRUBY_SOURCES}") -------------- next part -------------- HTML����������������������������...Download