Merge pull request #3610 from jet47:fix-ocv_add_module-3.0

This commit is contained in:
Vadim Pisarevsky 2015-01-20 12:35:36 +00:00
commit aacb9b7cf5

View File

@ -113,7 +113,6 @@ endmacro()
macro(ocv_add_module _name)
ocv_debug_message("ocv_add_module(" ${_name} ${ARGN} ")")
string(TOLOWER "${_name}" name)
string(REGEX REPLACE "^opencv_" "" ${name} "${name}")
set(the_module opencv_${name})
# the first pass - collect modules info, the second pass - create targets