Fixed test target

This commit is contained in:
Christophe Riccio 2019-11-02 16:34:18 +01:00
parent 919e72f5dd
commit a4b4db24bd
2 changed files with 1 additions and 3 deletions

View File

@ -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})

View File

@ -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)