From 75c5e6e0b2838e34707f3facc749accb67ec430d Mon Sep 17 00:00:00 2001 From: Krzysztof Kurek Date: Wed, 16 Oct 2019 17:03:31 +0200 Subject: [PATCH] Un-breakify tests --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index dc96084c..5d020d33 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,7 +10,6 @@ add_library(glm::glm ALIAS glm) if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}) -add_subdirectory(test) enable_testing() option(GLM_QUIET "No CMake Message" OFF) @@ -239,4 +238,6 @@ elseif(CMAKE_CXX_COMPILER_ID MATCHES "MSVC") add_definitions(-D_CRT_SECURE_NO_WARNINGS) endif() +add_subdirectory(test) + endif(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR})