Have h2get build its own mruby if when needed
@@ -555,10 +555,6 @@ ENDIF (WITH_BUNDLED_SSL)
include(ExternalProject)
-IF (WITH_MRUBY)
- SET(H2GET_MRUBY_OPTS "-DWITH_MRUBY_LIB=${CMAKE_CURRENT_BINARY_DIR}/mruby/host/lib/libmruby.a -DWITH_MRUBY_INCLUDE=${CMAKE_CURRENT_SOURCE_DIR}/deps/mruby/include")
-ENDIF ()
-
IF (WITH_BUNDLED_SSL)
SET(H2GET_SSL_ROOT_DIR "${CMAKE_CURRENT_BINARY_DIR}/libressl-build/")
ELSE ()
@@ -570,7 +566,7 @@ ENDIF ()
ExternalProject_Add(h2get
SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/misc/h2get
BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/h2get_bin
- BUILD_COMMAND cmake -DH2GET_SSL_ROOT_DIR=${H2GET_SSL_ROOT_DIR} ${H2GET_MRUBY_OPTS} ${CMAKE_CURRENT_SOURCE_DIR}/misc/h2get && make
+ BUILD_COMMAND cmake -DH2GET_SSL_ROOT_DIR=${H2GET_SSL_ROOT_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/misc/h2get && make
INSTALL_COMMAND true)
SET_TARGET_PROPERTIES(h2get PROPERTIES EXCLUDE_FROM_ALL TRUE)
IF (WITH_BUNDLED_SSL)
