fix a dumb elseif in custom find glut module

This commit is contained in:
Stephen Birarda 2014-03-07 12:16:09 -08:00
parent a9c277312c
commit 1ec48b5999
2 changed files with 2 additions and 2 deletions

View file

@ -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})

View file

@ -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}