#  Copyright Matus Chochlik.
#  Distributed under the Boost Software License, Version 1.0.
#  See accompanying file LICENSE_1_0.txt or copy at
#   http://www.boost.org/LICENSE_1_0.txt
#
find_path(
	GLM_INCLUDE_DIRS NAMES glm/glm.hpp
	PATHS ${HEADER_SEARCH_PATHS}
	NO_DEFAULT_PATH
)

if(NOT GLM_INCLUDE_DIRS)
	find_path(GLM_INCLUDE_DIRS NAMES glm/glm.hpp)
endif()

if(NOT GLM_INCLUDE_DIRS)
	message(STATUS "GLM header files not found")
	set(GLM_FOUND 0)
else()
	set(GLM_FOUND 1)
endif()
