mirror of
https://github.com/opencv/opencv.git
synced 2026-07-31 08:13:04 +04:00
cmake: Java/Android SDK refactoring
This commit is contained in:
@@ -774,6 +774,9 @@ endmacro()
|
||||
# ocv_create_module()
|
||||
macro(ocv_create_module)
|
||||
ocv_debug_message("${the_module}: ocv_create_module(" ${ARGN} ")")
|
||||
if(OPENCV_MODULE_${the_module}_CLASS STREQUAL "BINDINGS")
|
||||
message(FATAL_ERROR "Bindings module can't call ocv_create_module()")
|
||||
endif()
|
||||
if(NOT " ${ARGN}" STREQUAL " ")
|
||||
set(OPENCV_MODULE_${the_module}_LINK_DEPS "${OPENCV_MODULE_${the_module}_LINK_DEPS};${ARGN}" CACHE INTERNAL "")
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user