mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 13:43:49 +02:00
use a path suffix in GLEW finder to get correct dir
This commit is contained in:
parent
e3363dd304
commit
5452b81d58
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ else ()
|
|||
if (WIN32)
|
||||
set(WIN_GLEW_SEARCH_DIRS "${GLEW_ROOT_DIR}" "$ENV{GLEW_ROOT_DIR}" "$ENV{HIFI_LIB_DIR}/glew")
|
||||
|
||||
find_path(GLEW_INCLUDE_DIRS include/GL/glew.h HINTS ${WIN_GLEW_SEARCH_DIRS})
|
||||
find_path(GLEW_INCLUDE_DIRS GL/glew.h PATH_SUFFIXES include HINTS ${WIN_GLEW_SEARCH_DIRS})
|
||||
|
||||
if (CMAKE_CL_64)
|
||||
set(WIN_ARCH_DIR "x64")
|
||||
|
|
Loading…
Reference in a new issue