add cmake option to build without xinput (tablet support)
[blender.git] / intern / ghost / CMakeLists.txt
index 33185a63d5bc62a3a8f0721ac2c14f9145fd5670..d629b44a1061da380d97526bf41b8a65d6f4b9c9 100644 (file)
@@ -118,6 +118,11 @@ if(APPLE)
        endif()
 
 elseif(UNIX)
+
+       if(WITH_X11_XINPUT)
+               add_definitions(-DWITH_X11_XINPUT)
+       endif()
+
        list(APPEND INC ${X11_X11_INCLUDE_PATH})
 
        list(APPEND SRC