From a1538719405c52cca65ce9d63de273fe69eda9da Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Sat, 12 Dec 2015 15:02:10 +0300 Subject: [PATCH] disable ts module if it is not used: BUILD_TESTS=OFF and BUILD_PERF_TESTS=OFF --- modules/ts/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ts/CMakeLists.txt b/modules/ts/CMakeLists.txt index 2732924b7..8d625f8d0 100644 --- a/modules/ts/CMakeLists.txt +++ b/modules/ts/CMakeLists.txt @@ -1,6 +1,6 @@ set(the_description "The ts module") -if(IOS) +if(NOT BUILD_opencv_ts AND NOT BUILD_TESTS AND NOT BUILD_PERF_TESTS) ocv_module_disable(ts) endif()