[Bf-blender-cvs] [8628d00] soc-2014-viewport_context: Add Opengl include (same as master)

Campbell Barton noreply at git.blender.org
Wed Jul 30 13:06:55 CEST 2014


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}")




More information about the Bf-blender-cvs mailing list