Enable the binding generator to parse shadow files

This commit is contained in:
Hamdi Sahloul
2018-08-25 07:18:33 +09:00
parent 90f47eb952
commit 7cdb0eafeb
2 changed files with 4 additions and 1 deletions
+2
View File
@@ -26,6 +26,8 @@ foreach(m ${OPENCV_PYTHON_MODULES})
list(APPEND opencv_hdrs "${hdr}")
endif()
endforeach()
file(GLOB hdr ${OPENCV_MODULE_${m}_LOCATION}/misc/python/shadow*.hpp)
list(APPEND opencv_hdrs ${hdr})
file(GLOB userdef_hdrs ${OPENCV_MODULE_${m}_LOCATION}/misc/python/pyopencv*.hpp)
list(APPEND opencv_userdef_hdrs ${userdef_hdrs})
endforeach(m)