cb255b97e5
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8551 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: dba042ee377d40e392259c35f73a6ad592e24096 Former-commit-id: bac2b8554d2ebe563baa9a7fa9f1cbbe03f0eb44
17 lines
No EOL
446 B
Text
17 lines
No EOL
446 B
Text
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})
|
|
|
|
install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/glm DESTINATION include) |