From Mathias Froehlich, made the include of bin directory for include/OpenThreads/Config only used when doing out of source builds
This commit is contained in:
parent
bc6e5b5da2
commit
ce13510b47
@ -98,8 +98,11 @@ IF(UNIX)
|
|||||||
ENDIF(UNIX)
|
ENDIF(UNIX)
|
||||||
|
|
||||||
# Make the headers visible to everything
|
# Make the headers visible to everything
|
||||||
|
IF(NOT ${PROJECT_BINARY_DIR} EQUAL ${PROJECT_SOURCE_DIR})
|
||||||
|
INCLUDE_DIRECTORIES(${PROJECT_BINARY_DIR}/include)
|
||||||
|
ENDIF(NOT ${PROJECT_BINARY_DIR} EQUAL ${PROJECT_SOURCE_DIR})
|
||||||
|
|
||||||
INCLUDE_DIRECTORIES(
|
INCLUDE_DIRECTORIES(
|
||||||
${PROJECT_BINARY_DIR}/include
|
|
||||||
${OpenSceneGraph_SOURCE_DIR}/include
|
${OpenSceneGraph_SOURCE_DIR}/include
|
||||||
${OPENGL_INCLUDE_DIR}
|
${OPENGL_INCLUDE_DIR}
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user