Adding include path for numpy to sconscript. There must be a better way to do this.
authorMartin Poirier <theeth@yahoo.com>
Sat, 1 Nov 2008 17:44:12 +0000 (17:44 +0000)
committerMartin Poirier <theeth@yahoo.com>
Sat, 1 Nov 2008 17:44:12 +0000 (17:44 +0000)
source/gameengine/VideoTexture/SConscript

index f3fe0dab6ad835abd8d3f4a6b75810c27b33f92f..bf8d7c133ff7af0dad625e81278c438a293c79cc 100644 (file)
@@ -21,6 +21,7 @@ if env['OURPLATFORM'] == 'win32-vc':
        cflags.append('/GR')
        cflags.append('/Ox')
 
        cflags.append('/GR')
        cflags.append('/Ox')
 
+incs += ' ' + env['BF_PYTHON'] + '/lib/python' + env['BF_PYTHON_VERSION'] + "/site-packages/numpy/core/include"
 incs += ' ' + env['BF_PYTHON_INC']
 #incs += ' ' + env['BF_OPENGL_INC']
 
 incs += ' ' + env['BF_PYTHON_INC']
 #incs += ' ' + env['BF_OPENGL_INC']