mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-16 20:26:24 +02:00
use a PATH_SUFFIXES command in freeglut path find
This commit is contained in:
parent
9db4b803c6
commit
01f155a103
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ if (GLUT_INCLUDE_DIR AND GLUT_LIBRARIES)
|
|||
else ()
|
||||
if (WIN32)
|
||||
set(WIN_GLUT_SEARCH_DIRS "${GLUT_ROOT_DIR}" "$ENV{GLUT_ROOT_DIR}" "$ENV{HIFI_LIB_DIR}/freeglut" "${OPENGL_INCLUDE_DIR}")
|
||||
find_path(GLUT_INCLUDE_DIR include/GL/glut.h HINTS ${WIN_GLUT_SEARCH_DIRS})
|
||||
find_path(GLUT_INCLUDE_DIR GL/glut.h PATH_SUFFIXES include HINTS ${WIN_GLUT_SEARCH_DIRS})
|
||||
|
||||
if (CMAKE_CL_64)
|
||||
set(WIN_ARCH_DIR "lib/x64")
|
||||
|
|
Loading…
Reference in a new issue