From 1ec48b59998b7bde14b976d126ea558b502bbf1b Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Fri, 7 Mar 2014 12:16:09 -0800 Subject: [PATCH] fix a dumb elseif in custom find glut module --- cmake/modules/FindGLUT.cmake | 2 +- interface/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/modules/FindGLUT.cmake b/cmake/modules/FindGLUT.cmake index 441e45c38c..8bdd38abad 100644 --- a/cmake/modules/FindGLUT.cmake +++ b/cmake/modules/FindGLUT.cmake @@ -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}) diff --git a/interface/CMakeLists.txt b/interface/CMakeLists.txt index 3e63718231..7b4acc84ec 100644 --- a/interface/CMakeLists.txt +++ b/interface/CMakeLists.txt @@ -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}