From ae8f5c81d40befcedd4b33ee461046b2b04e9485 Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Tue, 6 Nov 2018 15:07:31 +0100 Subject: [PATCH] skip tests from libuv --- CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a6464026..a70b262a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -67,7 +67,8 @@ if(DOXYGEN_FOUND) endif() if(BUILD_TESTING) - enable_testing() + set(BUILD_TESTING OFF) + set(GOOGLETEST_DEPS_DIR ${PROJECT_DEPS_DIR}/googletest) set(LIBUV_DEPS_DIR ${PROJECT_DEPS_DIR}/libuv) @@ -83,6 +84,9 @@ if(BUILD_TESTING) add_subdirectory(${LIBUV_DEPS_DIR}) include_directories(${LIBUV_DEPS_DIR}/include) + set(BUILD_TESTING ON) + enable_testing() + add_subdirectory(test) endif()