1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-09-15 06:52:34 +02:00

[CMake] Use find_package config mode for GLM

GLM requires using the new config mode as it only ships a
glmConfig.cmake.

more info:
http://stackoverflow.com/q/34634850/4453524
https://cmake.org/cmake/help/latest/command/find_package.html
This commit is contained in:
Leonard König 2016-05-21 21:44:01 +02:00
parent 39c639fc60
commit fe0c93f0d7

View File

@ -58,7 +58,7 @@ find_package(OpenGL REQUIRED)
find_package(Bullet REQUIRED)
find_package(SFML 2 COMPONENTS system window audio graphics network REQUIRED)
find_package(MAD REQUIRED)
find_package(GLM REQUIRED)
find_package(glm REQUIRED CONFIG)
include_directories("${GLM_INCLUDE_DIRS}")