--- ./src/CMakeLists.txt.orig 2011-03-05 19:10:11.000000000 +0000 +++ ./src/CMakeLists.txt 2013-03-17 00:48:41.239852359 +0000 @@ -14,6 +14,7 @@ if(UNIX) find_package(X11) set(optionalLibs ${optionalLibs} ${X11_X11_LIB}) + include_directories(${X11_INCLUDE_DIR}) endif(UNIX)