Merge pull request #3610 from jet47:fix-ocv_add_module-3.0
This commit is contained in:
commit
aacb9b7cf5
@ -113,7 +113,6 @@ endmacro()
|
|||||||
macro(ocv_add_module _name)
|
macro(ocv_add_module _name)
|
||||||
ocv_debug_message("ocv_add_module(" ${_name} ${ARGN} ")")
|
ocv_debug_message("ocv_add_module(" ${_name} ${ARGN} ")")
|
||||||
string(TOLOWER "${_name}" name)
|
string(TOLOWER "${_name}" name)
|
||||||
string(REGEX REPLACE "^opencv_" "" ${name} "${name}")
|
|
||||||
set(the_module opencv_${name})
|
set(the_module opencv_${name})
|
||||||
|
|
||||||
# the first pass - collect modules info, the second pass - create targets
|
# the first pass - collect modules info, the second pass - create targets
|
||||||
|
Loading…
Reference in New Issue
Block a user