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

pull/3631/head
Vadim Pisarevsky 10 years ago
commit c29c52a216
  1. 1
      cmake/OpenCVModule.cmake

@ -106,7 +106,6 @@ endmacro()
# ocv_add_module(yaom INTERNAL opencv_core opencv_highgui opencv_flann OPTIONAL opencv_gpu)
macro(ocv_add_module _name)
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

Loading…
Cancel
Save