Commit 757e61d9 authored by Anatoly Baksheev's avatar Anatoly Baksheev

restored OpenCVModule.cmake

parent 6ca1822f
...@@ -432,8 +432,6 @@ macro(ocv_glob_module_sources) ...@@ -432,8 +432,6 @@ macro(ocv_glob_module_sources)
file(GLOB lib_hdrs "include/opencv2/*.hpp" "include/opencv2/${name}/*.hpp" "include/opencv2/${name}/*.h") file(GLOB lib_hdrs "include/opencv2/*.hpp" "include/opencv2/${name}/*.hpp" "include/opencv2/${name}/*.h")
file(GLOB lib_hdrs_detail "include/opencv2/${name}/detail/*.hpp" "include/opencv2/${name}/detail/*.h") file(GLOB lib_hdrs_detail "include/opencv2/${name}/detail/*.hpp" "include/opencv2/${name}/detail/*.h")
file(GLOB_RECURSE qq "src/q/*.h*")
file(GLOB lib_device_srcs "src/cuda/*.cu") file(GLOB lib_device_srcs "src/cuda/*.cu")
set(device_objs "") set(device_objs "")
set(lib_device_hdrs "") set(lib_device_hdrs "")
...@@ -447,7 +445,7 @@ macro(ocv_glob_module_sources) ...@@ -447,7 +445,7 @@ macro(ocv_glob_module_sources)
endif() endif()
ocv_set_module_sources(${ARGN} HEADERS ${lib_hdrs} ${lib_hdrs_detail} ocv_set_module_sources(${ARGN} HEADERS ${lib_hdrs} ${lib_hdrs_detail}
SOURCES ${lib_srcs} ${lib_int_hdrs} ${device_objs} ${lib_device_srcs} ${lib_device_hdrs} ${qq}) SOURCES ${lib_srcs} ${lib_int_hdrs} ${device_objs} ${lib_device_srcs} ${lib_device_hdrs})
source_group("Src" FILES ${lib_srcs} ${lib_int_hdrs}) source_group("Src" FILES ${lib_srcs} ${lib_int_hdrs})
source_group("Include" FILES ${lib_hdrs}) source_group("Include" FILES ${lib_hdrs})
......
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