From 17b11a47bf26a402cbef2bef9d82b7dfee5e9e18 Mon Sep 17 00:00:00 2001 From: Ethan Rublee Date: Fri, 29 Apr 2011 21:00:10 +0000 Subject: [PATCH] Conditional for the module ts, depending on whether tests are being built. --- modules/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/CMakeLists.txt b/modules/CMakeLists.txt index ff1dddbd5..4a5a699ab 100644 --- a/modules/CMakeLists.txt +++ b/modules/CMakeLists.txt @@ -13,7 +13,9 @@ if(MSVC OR MINGW) endif() endif() +if(BUILD_TESTS) add_subdirectory(ts) +endif() add_subdirectory(highgui) add_subdirectory(imgproc) add_subdirectory(legacy)