mirror of
https://github.com/lubosz/overte.git
synced 2025-04-16 21:46:34 +02:00
fix a dumb elseif in custom find glut module
This commit is contained in:
parent
a9c277312c
commit
1ec48b5999
2 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@
|
|||
|
||||
if (GLUT_INCLUDE_DIR AND GLUT_LIBRARIES)
|
||||
set(GLUT_FOUND TRUE)
|
||||
elseif()
|
||||
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})
|
||||
|
|
|
@ -190,7 +190,7 @@ if (APPLE)
|
|||
find_library(OpenGL OpenGL)
|
||||
find_library(IOKit IOKit)
|
||||
find_library(QTKit QTKit)
|
||||
find_library(QuartzCore QuartzCore)
|
||||
find_library(QuartzCore QuartzCore)
|
||||
|
||||
target_link_libraries(
|
||||
${TARGET_NAME}
|
||||
|
|
Loading…
Reference in a new issue