From f13b0e8cdce0e8acd0ac35a4b91b560c4f181977 Mon Sep 17 00:00:00 2001 From: Andrey Rodionov Date: Thu, 14 May 2020 09:44:38 +0300 Subject: [PATCH] =?UTF-8?q?=D0=92=20CMakeLists.txt=20=D0=B8=D0=B7=D0=BC?= =?UTF-8?q?=D0=B5=D0=BD=D0=B5=D0=BD=D0=BE=20=D0=BF=D0=BE=D0=B4=D0=BA=D0=BB?= =?UTF-8?q?=D1=8E=D1=87=D0=B5=D0=BD=D0=B8=D0=B5=20=D1=82=D0=B5=D1=81=D1=82?= =?UTF-8?q?=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 22f63c2..13e88d9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,5 +4,6 @@ project(plugin VERSION 1.0.0) add_subdirectory(src) add_subdirectory(doc) -enable_testing() -add_subdirectory(tests EXCLUDE_FROM_ALL) +if ( ${CMAKE_TESTING_ENABLED} ) + add_subdirectory(tests) +endif()