add option WITH_BUILTIN_GLEW, so linux packagers can disable to use their own glew...
[blender.git] / source / gameengine / Rasterizer / CMakeLists.txt
index d899fc3..7e2fda1 100644 (file)
@@ -32,9 +32,9 @@ set(INC
        ../../../source/gameengine/Ketsji
        ../../../intern/string
        ../../../intern/moto/include
-       ../../../extern/glew/include
        ../../../intern/guardedalloc
        ../Expressions
+       ${GLEW_INCLUDE_PATH}
        ${PYTHON_INCLUDE_DIRS}
 )