cmake: fix mruby dependency
Ensure that the mruby build is triggered when the surrogate "mruby-lib" target is used. Fixes building nghttpx when mruby is missing.
This commit is contained in:
parent
9c874bf9b5
commit
d6c3b6e84c
|
@ -59,6 +59,7 @@ if(ENABLE_THIRD_PARTY)
|
|||
IMPORTED_LOCATION "${MRUBY_BUILD_DIR}/lib/${MRUBY_LIBRARY}"
|
||||
INTERFACE_INCLUDE_DIRECTORIES "${CMAKE_CURRENT_SOURCE_DIR}/mruby/include"
|
||||
)
|
||||
add_dependencies(mruby-lib mruby)
|
||||
|
||||
# XXX clean ${CMAKE_CURRENT_BINARY_DIR}/mruby/build
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue