mirror of
https://github.com/lubosz/overte.git
synced 2025-08-08 04:08:13 +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)
|
if (GLUT_INCLUDE_DIR AND GLUT_LIBRARIES)
|
||||||
set(GLUT_FOUND TRUE)
|
set(GLUT_FOUND TRUE)
|
||||||
elseif()
|
else ()
|
||||||
if (WIN32)
|
if (WIN32)
|
||||||
set(WIN_GLUT_SEARCH_DIRS "${GLUT_ROOT_DIR}" "$ENV{GLUT_ROOT_DIR}" "$ENV{HIFI_LIB_DIR}/freeglut" "${OPENGL_INCLUDE_DIR}")
|
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 include/GL/glut.h HINTS ${WIN_GLUT_SEARCH_DIRS})
|
||||||
|
|
|
@ -190,7 +190,7 @@ if (APPLE)
|
||||||
find_library(OpenGL OpenGL)
|
find_library(OpenGL OpenGL)
|
||||||
find_library(IOKit IOKit)
|
find_library(IOKit IOKit)
|
||||||
find_library(QTKit QTKit)
|
find_library(QTKit QTKit)
|
||||||
find_library(QuartzCore QuartzCore)
|
find_library(QuartzCore QuartzCore)
|
||||||
|
|
||||||
target_link_libraries(
|
target_link_libraries(
|
||||||
${TARGET_NAME}
|
${TARGET_NAME}
|
||||||
|
|
Loading…
Reference in a new issue