From 045024d735c64a1e488827e4b70b20b3295be4ef Mon Sep 17 00:00:00 2001 From: "Jonathan M. Henson" Date: Fri, 3 Jan 2020 15:59:21 -0800 Subject: [PATCH] Move include ctest up, this should reneable tests. (#571) --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3289f217d..0fdefcb87 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -27,6 +27,7 @@ include(AwsSharedLibSetup) include(AwsFeatureTests) include(AwsSanitizers) include(AwsSIMD) +include(CTest) set(GENERATED_ROOT_DIR "${CMAKE_CURRENT_BINARY_DIR}/generated") set(GENERATED_INCLUDE_DIR "${GENERATED_ROOT_DIR}/include") @@ -233,7 +234,6 @@ configure_file(${CONFIG_HEADER_TEMPLATE} if (NOT CMAKE_CROSSCOMPILING) if (BUILD_TESTING) - include(CTest) add_subdirectory(tests) endif() endif()