From 07bd58a0e87e0a517d8c3e166f423f37ace22624 Mon Sep 17 00:00:00 2001 From: Vladislav Vinogradov Date: Tue, 21 Oct 2014 18:45:47 +0400 Subject: [PATCH] turn on testing support in root binary directory --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 771938ff18..b298d9702f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -58,6 +58,8 @@ if(DEFINED CMAKE_BUILD_TYPE AND CMAKE_VERSION VERSION_GREATER "2.8") set_property( CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS ${CMAKE_CONFIGURATION_TYPES} ) endif() +enable_testing() + project(OpenCV CXX C) if(MSVC)