mirror of
https://github.com/opencv/opencv.git
synced 2024-12-31 05:28:46 +08:00
131458847b
This allows us to forget about the GTEST_(CREATE|LINKED_AS)_SHARED_LIBRARY macros and to get rid of the dependency on cvconfig.h.
23 lines
445 B
CMake
23 lines
445 B
CMake
set(the_description "The ts module")
|
|
|
|
if(IOS)
|
|
ocv_module_disable(ts)
|
|
endif()
|
|
|
|
set(OPENCV_MODULE_TYPE STATIC)
|
|
set(OPENCV_MODULE_IS_PART_OF_WORLD FALSE)
|
|
|
|
if(HAVE_CUDA)
|
|
ocv_include_directories(${CUDA_INCLUDE_DIRS})
|
|
endif()
|
|
|
|
ocv_warnings_disable(CMAKE_CXX_FLAGS -Wundef)
|
|
|
|
ocv_add_module(ts opencv_core opencv_features2d)
|
|
|
|
ocv_glob_module_sources()
|
|
ocv_module_include_directories()
|
|
ocv_create_module()
|
|
|
|
ocv_add_precompiled_headers(${the_module})
|