mirror of
https://github.com/g-truc/glm.git
synced 2024-11-29 11:24:35 +00:00
Fixed test target
This commit is contained in:
parent
919e72f5dd
commit
a4b4db24bd
@ -3,9 +3,9 @@ cmake_policy(VERSION 3.2)
|
|||||||
|
|
||||||
set(GLM_VERSION "0.9.9")
|
set(GLM_VERSION "0.9.9")
|
||||||
project(glm VERSION ${GLM_VERSION} LANGUAGES CXX)
|
project(glm VERSION ${GLM_VERSION} LANGUAGES CXX)
|
||||||
|
enable_testing()
|
||||||
|
|
||||||
add_subdirectory(glm)
|
add_subdirectory(glm)
|
||||||
|
|
||||||
add_library(glm::glm ALIAS glm)
|
add_library(glm::glm ALIAS glm)
|
||||||
|
|
||||||
if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR})
|
if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR})
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
enable_testing()
|
|
||||||
|
|
||||||
option(GLM_QUIET "No CMake Message" OFF)
|
option(GLM_QUIET "No CMake Message" OFF)
|
||||||
option(BUILD_SHARED_LIBS "Build shared library" ON)
|
option(BUILD_SHARED_LIBS "Build shared library" ON)
|
||||||
option(BUILD_STATIC_LIBS "Build static library" ON)
|
option(BUILD_STATIC_LIBS "Build static library" ON)
|
||||||
|
Loading…
Reference in New Issue
Block a user