# Find the OpenGL Mathematics library (GLM)
# This is only really neede for Windows I think, since GLM installs
# to the regular lib/include dirs on Linux so no extra work is needed
# on Windows the GLM root dir should be set as an environment variable
# named GLM

find_path(GLM_INCLUDE_DIR glm/glm.hpp
	HINTS $ENV{GLM}
	${GLM}
	PATH_SUFFIXES glm
)

set(GLM_INCLUDE_DIRS ${GLM_INCLUDE_DIR})

include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(GLM REQUIRED_VARS GLM_INCLUDE_DIR)

mark_as_advanced(GLM_INCLUDE_DIR)

