mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-23 06:35:38 +00:00
16 lines
373 B
CMake
16 lines
373 B
CMake
|
cmake_minimum_required(VERSION 3.2 FATAL_ERROR)
|
||
|
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})
|
||
|
|
||
|
add_subdirectory(test)
|
||
|
|
||
|
endif(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR})
|