add option WITH_BUILTIN_GLEW, so linux packagers can disable to use their own glew...
[blender.git] / source / gameengine / GamePlayer / common / CMakeLists.txt
index 0bd8a0d..604dd92 100644 (file)
@@ -51,7 +51,7 @@ set(INC
        ../../../../source/gameengine/GamePlayer/ghost
        ../../../../source/blender/blenloader
        ../../../../source/blender/gpu
-       ../../../../extern/glew/include
+       ${GLEW_INCLUDE_PATH}
        ${PYTHON_INCLUDE_DIRS}
        ${PNG_INCLUDE_DIR}
        ${ZLIB_INCLUDE_DIRS}