Commit c29c52a2 authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

Merge pull request #3609 from jet47:fix-ocv_add_module-2.4

parents 07c9a88d 12a3eb77
...@@ -106,7 +106,6 @@ endmacro() ...@@ -106,7 +106,6 @@ endmacro()
# ocv_add_module(yaom INTERNAL opencv_core opencv_highgui opencv_flann OPTIONAL opencv_gpu) # ocv_add_module(yaom INTERNAL opencv_core opencv_highgui opencv_flann OPTIONAL opencv_gpu)
macro(ocv_add_module _name) macro(ocv_add_module _name)
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment