From 5ea733c60c8f6323cf94b726b997e8e22bca191f Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 21 Mar 2019 23:06:29 +0900 Subject: Fixed support for tests in cmake. Signed-off-by: Michele Calgaro --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 647af0e..defcaba 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -27,7 +27,7 @@ include( CheckIncludeFile ) include( CheckFunctionExists ) include( CheckLibraryExists ) include( CheckSymbolExists ) - +enable_testing( ) #### include our cmake modules ################## @@ -73,6 +73,8 @@ set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined" add_subdirectory( lib ) add_subdirectory( kpilot ) add_subdirectory( conduits ) +add_subdirectory( tests ) + tde_conditional_add_subdirectory( BUILD_DOC doc ) tde_conditional_add_subdirectory( BUILD_TRANSLATIONS po ) -- cgit v1.2.1