|
|
|
@ -2,7 +2,8 @@ cmake_minimum_required(VERSION 2.6 FATAL_ERROR) |
|
|
|
|
cmake_policy(VERSION 2.6) |
|
|
|
|
|
|
|
|
|
project(glm) |
|
|
|
|
enable_testing() |
|
|
|
|
#Delayed for GLM 0.9.2 |
|
|
|
|
#enable_testing() |
|
|
|
|
|
|
|
|
|
add_definitions(-D_CRT_SECURE_NO_WARNINGS) |
|
|
|
|
add_definitions(-pedantic) |
|
|
|
@ -16,7 +17,6 @@ add_definitions(-msse2) |
|
|
|
|
|
|
|
|
|
include_directories(".") |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
add_subdirectory(glm) |
|
|
|
|
add_subdirectory(test) |
|
|
|
|
add_subdirectory(bench) |
|
|
|
@ -27,4 +27,4 @@ if(NOT GLM_TEST_MODE) |
|
|
|
|
message(FATAL_ERROR "GLM is a header only library, no need to build it. Set the option GLM_TEST_MODE with ON to build and run the test bench") |
|
|
|
|
endif() |
|
|
|
|
|
|
|
|
|
install( DIRECTORY glm DESTINATION include ) |
|
|
|
|
install(DIRECTORY glm DESTINATION include) |
|
|
|
|