mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-23 02:38:52 -05:00
Temporary fix for OPENGL_INCLUDE_DIR being NOTFOUND on OS X 10.8.
This commit is contained in:
parent
be7ad339f7
commit
cdcdf5763a
|
@ -9,8 +9,12 @@ else()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
include_directories(${GLFW_SOURCE_DIR}/include
|
include_directories(${GLFW_SOURCE_DIR}/include
|
||||||
${GLFW_SOURCE_DIR}/support
|
${GLFW_SOURCE_DIR}/support)
|
||||||
${OPENGL_INCLUDE_DIR})
|
|
||||||
|
if (NOT APPLE)
|
||||||
|
# HACK: This is NOTFOUND on OS X 10.8
|
||||||
|
include_directories(${OPENGL_INCLUDE_DIR})
|
||||||
|
endif()
|
||||||
|
|
||||||
set(GETOPT ${GLFW_SOURCE_DIR}/support/getopt.h
|
set(GETOPT ${GLFW_SOURCE_DIR}/support/getopt.h
|
||||||
${GLFW_SOURCE_DIR}/support/getopt.c)
|
${GLFW_SOURCE_DIR}/support/getopt.c)
|
||||||
|
|
|
@ -14,8 +14,12 @@ if (UNIX AND NOT APPLE)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
include_directories(${GLFW_SOURCE_DIR}/include
|
include_directories(${GLFW_SOURCE_DIR}/include
|
||||||
${GLFW_SOURCE_DIR}/support
|
${GLFW_SOURCE_DIR}/support)
|
||||||
${OPENGL_INCLUDE_DIR})
|
|
||||||
|
if (NOT APPLE)
|
||||||
|
# HACK: This is NOTFOUND on OS X 10.8
|
||||||
|
include_directories(${OPENGL_INCLUDE_DIR})
|
||||||
|
endif()
|
||||||
|
|
||||||
set(GETOPT ${GLFW_SOURCE_DIR}/support/getopt.h
|
set(GETOPT ${GLFW_SOURCE_DIR}/support/getopt.h
|
||||||
${GLFW_SOURCE_DIR}/support/getopt.c)
|
${GLFW_SOURCE_DIR}/support/getopt.c)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user