Commit: 8628d008be9a4480990569d5ee1165ad32de167f
Author: Campbell Barton
Date:   Wed Jul 30 21:05:49 2014 +1000
Branches: soc-2014-viewport_context
https://developer.blender.org/rB8628d008be9a4480990569d5ee1165ad32de167f

Add Opengl include (same as master)

without this freebsd fails since OpenGL is in /usr/local/include

===================================================================

M       CMakeLists.txt

===================================================================

diff --git a/CMakeLists.txt b/CMakeLists.txt
index aeb5c17..ec08377 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2083,6 +2083,7 @@ endif()
 # Configure OpenGL.
 
 find_package(OpenGL)
+blender_include_dirs_sys("${OPENGL_INCLUDE_DIR}")
 
 if(WITH_GLU)
        list(APPEND BLENDER_GL_LIBRARIES "${OPENGL_glu_LIBRARY}")

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to