From 6e363e4aae99aa0bfccd961deed0ccfe278617df Mon Sep 17 00:00:00 2001 From: Brad Hefta-Gaub Date: Sat, 11 Jan 2014 21:55:08 -0800 Subject: [PATCH] err fix mac build --- interface/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interface/CMakeLists.txt b/interface/CMakeLists.txt index 2a9b72f2f5..1e91f8f964 100644 --- a/interface/CMakeLists.txt +++ b/interface/CMakeLists.txt @@ -28,10 +28,10 @@ if (APPLE) set(GL_HEADERS "#include \n#include ") endif (APPLE) -if (UNIX) +if (UNIX AND NOT APPLE) # include the right GL headers for UNIX set(GL_HEADERS "#include \n#include \n#include ") -endif (UNIX) +endif (UNIX AND NOT APPLE) if (WIN32) #set(GLUT_ROOT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/external/glut)