Android cmake toolchain file is included into OpenCV

This commit is contained in:
Andrey Kamaev
2011-05-03 08:13:50 +00:00
parent ce2edd137d
commit 727fbd5376
17 changed files with 440 additions and 21 deletions

View File

@@ -22,6 +22,9 @@ macro(define_opencv_module name)
file(GLOB lib_srcs "src/*.cpp")
file(GLOB lib_int_hdrs "src/*.h*")
if(COMMAND get_module_external_sources)
get_module_external_sources(${name})
endif()
source_group("Src" FILES ${lib_srcs} ${lib_int_hdrs})
file(GLOB lib_hdrs "include/opencv2/${name}/*.h*")