Moved OPENGL_INCLUDE_DIR include into it's own INCLUDE_DIRECTORIES(SYSTEM ${OPENGL_INCLUDE_DIR}) entry to help with FreeBSD builds where a previous rev of the OSG has already been installed
This commit is contained in:
parent
023a8d99e9
commit
084927d5ae
@ -330,16 +330,15 @@ IF(UNIX AND NOT ANDROID)
|
|||||||
|
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
INCLUDE_DIRECTORIES(
|
INCLUDE_DIRECTORIES(${OpenSceneGraph_SOURCE_DIR}/include/)
|
||||||
${OpenSceneGraph_SOURCE_DIR}/include
|
|
||||||
${OPENGL_INCLUDE_DIR}
|
|
||||||
)
|
|
||||||
|
|
||||||
# Make the headers visible to everything
|
# Make the headers visible to everything
|
||||||
IF(NOT ${PROJECT_BINARY_DIR} EQUAL ${PROJECT_SOURCE_DIR})
|
IF(NOT ${PROJECT_BINARY_DIR} EQUAL ${PROJECT_SOURCE_DIR})
|
||||||
INCLUDE_DIRECTORIES(${PROJECT_BINARY_DIR}/include)
|
INCLUDE_DIRECTORIES(${PROJECT_BINARY_DIR}/include)
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
|
INCLUDE_DIRECTORIES(SYSTEM ${OPENGL_INCLUDE_DIR})
|
||||||
|
|
||||||
# Common global definitions
|
# Common global definitions
|
||||||
#ADD_DEFINITIONS(-D)
|
#ADD_DEFINITIONS(-D)
|
||||||
# Platform specific definitions
|
# Platform specific definitions
|
||||||
|
Loading…
Reference in New Issue
Block a user