Skip to content

Commit

Permalink
configure.ac: Check for GLM in standard include path
Browse files Browse the repository at this point in the history
Looks like Arch Linux stopped providing pkg-config file for glm. Since
this is mostly a header-only library we can just check if the headers
exist.
  • Loading branch information
mpiatka committed Feb 1, 2024
1 parent b1d8555 commit d53eb95
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -1185,6 +1185,10 @@ elif test $cross_compile = no; then
if test $found_glm_hpp = yes; then
glm=yes
GLM_INC=-I$GLM_DIR
else
AC_LANG_PUSH(C++)
AC_CHECK_HEADER([glm/glm.hpp], [glm=yes], [glm=no])
AC_LANG_POP(C++)
fi
fi

Expand Down

0 comments on commit d53eb95

Please sign in to comment.