From 3ec6938b959bd1455d346288066d6f6e15862d07 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 25 Apr 2014 08:18:03 +0000 Subject: [PATCH] From Paul Martz, fixed placement of OpenGL header so that it gets generated and placed in the build directory as per the Config file --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ddc44910f..81f15cf89 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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" "${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" "${OPENSCENEGRAPH_OPENGL_HEADER}")