From fe0c93f0d77f1ee8bacea3fe8a2ae78f216265b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonard=20K=C3=B6nig?= Date: Sat, 21 May 2016 21:44:01 +0200 Subject: [PATCH] [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 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9e90a79d..1569d6b1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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}")