Commit 00e92fd8 authored by Mathieu Faverge's avatar Mathieu Faverge

Fix the search of glm.hpp

parent 73afe72d
......@@ -26,6 +26,8 @@ include (CMakeDetermineSystem)
include (CheckCCompilerFlag)
include (CheckFunctionExists)
include (CheckSymbolExists)
include (CheckIncludeFile)
include (CheckIncludeFileCXX)
include (CheckIncludeFiles)
include (CheckLibraryExists)
include (CMakeDependentOption)
......@@ -126,10 +128,10 @@ endif(VITE_ENABLE_SERIALIZATION)
if(VITE_ENABLE_VBO)
find_package(GLEW REQUIRED)
# check_include_files(glm/glm.hpp HAVE_GLM_H)
# if (NOT HAVE_GLM_H)
# message(FATAL_ERROR "libglm-dev package is required")
# endif()
check_include_file_cxx(glm/glm.hpp HAVE_GLM_H)
if (NOT HAVE_GLM_H)
message(FATAL_ERROR "libglm-dev package is required")
endif()
endif(VITE_ENABLE_VBO)
if(VITE_ENABLE_OTF)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment