disable ts module if it is not used: BUILD_TESTS=OFF and BUILD_PERF_TESTS=OFF

This commit is contained in:
Alexander Alekhin 2015-12-12 15:02:10 +03:00
parent 7afce8e003
commit a153871940

View File

@ -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()