#
#  FindGLM.cmake
# 
#  Try to find GLM include path.
#  Once done this will define
#
#  GLM_INCLUDE_DIRS
# 
#  Created on 7/17/2014 by Stephen Birarda
#  Copyright 2014 High Fidelity, Inc.
# 
#  Distributed under the Apache License, Version 2.0.
#  See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
# 

# setup hints for GLM search
include("${MACRO_DIR}/HifiLibrarySearchHints.cmake")
hifi_library_search_hints("glm")

# locate header
find_path(GLM_INCLUDE_DIRS "glm/glm.hpp" HINTS ${GLM_SEARCH_DIRS})

include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(GLM DEFAULT_MSG GLM_INCLUDE_DIRS)

mark_as_advanced(GLM_INCLUDE_DIRS GLM_SEARCH_DIRS)