CMakeLists.txt 386 Bytes
Newer Older
1 2
set(the_description "The ts module")

3 4 5
if(IOS)
  ocv_module_disable(ts)
endif()
6

Roman Donchenko's avatar
Roman Donchenko committed
7
set(OPENCV_MODULE_TYPE STATIC)
8
set(OPENCV_MODULE_IS_PART_OF_WORLD FALSE)
9

Vladislav Vinogradov's avatar
Vladislav Vinogradov committed
10 11
ocv_warnings_disable(CMAKE_CXX_FLAGS -Wundef)

12
ocv_add_module(ts opencv_core opencv_imgproc opencv_highgui)
13

14 15 16
ocv_glob_module_sources()
ocv_module_include_directories()
ocv_create_module()
17

18
ocv_add_precompiled_headers(${the_module})