File: FindGLM.cmake

package info (click to toggle)
maim 5.8.0-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 284 kB
  • sloc: cpp: 2,408; makefile: 7
file content (20 lines) | stat: -rw-r--r-- 477 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# - Find GLM
# Find the GLM libraries
#
#  This module defines the following variables:
#     GLM_FOUND       - 1 if GLM_INCLUDE_DIR is found, 0 otherwise
#     GLM_INCLUDE_DIR - where to find glm/glm.hpp
#

find_path( GLM_INCLUDE_DIR
           NAMES glm/glm.hpp
           PATH_SUFFIXES /usr/include /include
           DOC "The GLM include directory" )

if( GLM_INCLUDE_DIR )
    set( GLM_FOUND 1 )
else()
    set( GLM_FOUND 0 )
endif()

mark_as_advanced( GLM_INCLUDE_DIR )