Bugfix #3437 #3438
[blender.git] / source / creator / SConscript
index 749fb6b75e29a03d971e937200d3c2e5aaaef3eb..11e2c835be303c3ca96b178a7f309056d40e3ce1 100644 (file)
@@ -1,3 +1,4 @@
+#!/usr/bin/python
 Import ('user_options_dict')
 Import ('library_env')
 
@@ -17,6 +18,7 @@ creator_env.Append (CPPPATH = ['#/intern/guardedalloc',
                                '../blender/makesdna',
                                '../kernel/gen_messaging',
                                '../kernel/gen_system'])
+creator_env.Append (CPPPATH = user_options_dict['OPENGL_INCLUDE'])
 
 if user_options_dict['USE_QUICKTIME'] == 1:
     creator_env.Append (CPPDEFINES = ['WITH_QUICKTIME'])