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}