mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-07 03:12:36 +01: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:
parent
39c639fc60
commit
fe0c93f0d7
@ -58,7 +58,7 @@ find_package(OpenGL REQUIRED)
|
|||||||
find_package(Bullet REQUIRED)
|
find_package(Bullet REQUIRED)
|
||||||
find_package(SFML 2 COMPONENTS system window audio graphics network REQUIRED)
|
find_package(SFML 2 COMPONENTS system window audio graphics network REQUIRED)
|
||||||
find_package(MAD REQUIRED)
|
find_package(MAD REQUIRED)
|
||||||
find_package(GLM REQUIRED)
|
find_package(glm REQUIRED CONFIG)
|
||||||
|
|
||||||
include_directories("${GLM_INCLUDE_DIRS}")
|
include_directories("${GLM_INCLUDE_DIRS}")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user