From Paul Martz, fixed placement of OpenGL header so that it gets generated and placed in the build directory as per the Config file

This commit is contained in:
Robert Osfield 2014-04-25 08:18:03 +00:00
parent 7b4d7cd221
commit 3ec6938b95

View File

@ -605,7 +605,7 @@ SET(OPENSCENEGRAPH_VERSION_HEADER "${CMAKE_CURRENT_SOURCE_DIR}/include/osg/Versi
CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/src/osg/Version.in" CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/src/osg/Version.in"
"${OPENSCENEGRAPH_VERSION_HEADER}") "${OPENSCENEGRAPH_VERSION_HEADER}")
SET(OPENSCENEGRAPH_OPENGL_HEADER "${CMAKE_CURRENT_SOURCE_DIR}/include/osg/OpenGL") SET(OPENSCENEGRAPH_OPENGL_HEADER "${PROJECT_BINARY_DIR}/include/osg/OpenGL")
CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/src/osg/OpenGL.in" CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/src/osg/OpenGL.in"
"${OPENSCENEGRAPH_OPENGL_HEADER}") "${OPENSCENEGRAPH_OPENGL_HEADER}")