freebsd-ports/games/rigsofrods/files/patch-dependencies-ogrenew-RenderSystems-GL-CMakeLists.txt
2009-08-13 23:45:26 +00:00

31 lines
869 B
Text

--- dependencies/ogrenew/RenderSystems/GL/CMakeLists.txt.orig 2009-02-09 02:40:28.000000000 +0300
+++ dependencies/ogrenew/RenderSystems/GL/CMakeLists.txt 2009-08-12 23:57:24.000000000 +0400
@@ -157,16 +157,19 @@
src/GLX/OgreGLXWindow.cpp
src/GLX/OgreGLXUtils.cpp
)
- include_directories(src/GLX include/GLX)
+ include_directories(BEFORE src/GLX include/GLX)
elseif (APPLE)
endif ()
-include_directories(
+include_directories(BEFORE
${CMAKE_CURRENT_SOURCE_DIR}/include
${CMAKE_CURRENT_SOURCE_DIR}/src/GLSL/include
${CMAKE_CURRENT_SOURCE_DIR}/src/atifs/include
${CMAKE_CURRENT_SOURCE_DIR}/src/nvparse
+)
+
+include_directories(
${OPENGL_INCLUDE_DIR}
)
@@ -188,4 +191,4 @@
RUNTIME DESTINATION ${BIN_DIR}
LIBRARY DESTINATION ${BIN_DIR}
ARCHIVE DESTINATION ${LIB_DIR})
-
\ No newline at end of file
+