add option WITH_BUILTIN_GLEW, so linux packagers can disable to use their own glew...
[blender.git] / source / gameengine / Physics / Bullet / CMakeLists.txt
index c677685..cc469c3 100644 (file)
@@ -31,7 +31,6 @@ set(INC
        .
        ../common
        ../../../../extern/bullet2/src
        .
        ../common
        ../../../../extern/bullet2/src
-       ../../../../extern/glew/include
        ../../../../intern/moto/include
        ../../../../intern/guardedalloc
        ../../../kernel/gen_system
        ../../../../intern/moto/include
        ../../../../intern/guardedalloc
        ../../../kernel/gen_system
@@ -44,6 +43,7 @@ set(INC
        ../../../../source/blender/makesdna
        ../../../../source/blender/blenlib
        ../../../../source/blender/blenkernel
        ../../../../source/blender/makesdna
        ../../../../source/blender/blenlib
        ../../../../source/blender/blenkernel
+       ${GLEW_INCLUDE_PATH}
        ${PYTHON_INCLUDE_DIRS}
 )
 
        ${PYTHON_INCLUDE_DIRS}
 )