2012-05-13 17:34:33 +08:00
|
|
|
set(the_description "The ts module")
|
|
|
|
|
2012-02-03 19:26:49 +08:00
|
|
|
if(IOS)
|
|
|
|
ocv_module_disable(ts)
|
|
|
|
endif()
|
2012-01-25 17:04:49 +08:00
|
|
|
|
2013-08-06 21:56:25 +08:00
|
|
|
set(OPENCV_MODULE_TYPE STATIC)
|
2012-05-13 17:34:33 +08:00
|
|
|
set(OPENCV_MODULE_IS_PART_OF_WORLD FALSE)
|
2012-06-12 22:46:12 +08:00
|
|
|
|
2013-03-15 18:09:10 +08:00
|
|
|
if(HAVE_CUDA)
|
|
|
|
ocv_include_directories(${CUDA_INCLUDE_DIRS})
|
|
|
|
endif()
|
|
|
|
|
2013-03-15 21:58:18 +08:00
|
|
|
ocv_warnings_disable(CMAKE_CXX_FLAGS -Wundef)
|
|
|
|
|
2013-03-26 18:58:09 +08:00
|
|
|
ocv_add_module(ts opencv_core opencv_imgproc opencv_highgui)
|
2012-10-09 22:37:26 +08:00
|
|
|
|
2012-02-03 19:26:49 +08:00
|
|
|
ocv_glob_module_sources()
|
|
|
|
ocv_module_include_directories()
|
|
|
|
ocv_create_module()
|
2012-01-25 00:55:47 +08:00
|
|
|
|
2012-02-03 19:26:49 +08:00
|
|
|
ocv_add_precompiled_headers(${the_module})
|