force use of 10.7 SDK to make hifi-mini happy again

This commit is contained in:
Stephen Birarda 2013-03-04 13:26:11 -08:00
parent 64ecfa3b50
commit 28832177ac
2 changed files with 2 additions and 2 deletions

View file

@ -4,7 +4,7 @@ project(hifi)
if(APPLE)
set(CMAKE_OSX_DEPLOYMENT_TARGET 10.7)
set(CMAKE_OSX_SYSROOT macosx)
set(CMAKE_OSX_SYSROOT macosx10.7)
endif()
add_subdirectory(space)

View file

@ -13,7 +13,7 @@ if (APPLE)
set(CMAKE_EXE_LINKER_FLAGS "-framework CoreAudio -framework AudioToolbox -framework AudioUnit -framework CoreServices -framework Carbon")
set(GL_HEADERS "#include <GLUT/glut.h>\n#include <OpenGL/glext.h>")
set(CMAKE_OSX_DEPLOYMENT_TARGET 10.7)
set(CMAKE_OSX_SYSROOT macosx)
set(CMAKE_OSX_SYSROOT macosx10.7)
else (APPLE)
# include the right GL headers for UNIX
set(GL_HEADERS "#include <GL/gl.h>\n#include <GL/glut.h>\n#include <GL/glext.h>")