From a4b4db24bd79817e4557e73a09babbd6904eb9b8 Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Sat, 2 Nov 2019 16:34:18 +0100 Subject: [PATCH] Fixed test target --- CMakeLists.txt | 2 +- test/CMakeLists.txt | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0aef003e..843e7546 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,9 +3,9 @@ cmake_policy(VERSION 3.2) set(GLM_VERSION "0.9.9") project(glm VERSION ${GLM_VERSION} LANGUAGES CXX) +enable_testing() add_subdirectory(glm) - add_library(glm::glm ALIAS glm) if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index daf0bc0c..2fd15de4 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -1,5 +1,3 @@ -enable_testing() - option(GLM_QUIET "No CMake Message" OFF) option(BUILD_SHARED_LIBS "Build shared library" ON) option(BUILD_STATIC_LIBS "Build static library" ON)