Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillermo S. Romero <gsr.b3d@infernal-iceberg.com>2011-02-20 02:51:55 +0300
committerGuillermo S. Romero <gsr.b3d@infernal-iceberg.com>2011-02-20 02:51:55 +0300
commitc37884b015a949bd03d1dac890263c93285291a1 (patch)
tree020022881c54edae293b1ec1e863be8af2eaa302 /intern/ghost/CMakeLists.txt
parent43d362fcc8592cede760a56cf863a0c3eb80ff5f (diff)
Add XF86keysym.h detection and use to CMake system, for r34983.
Diffstat (limited to 'intern/ghost/CMakeLists.txt')
-rw-r--r--intern/ghost/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/intern/ghost/CMakeLists.txt b/intern/ghost/CMakeLists.txt
index b77236acf41..33185a63d5b 100644
--- a/intern/ghost/CMakeLists.txt
+++ b/intern/ghost/CMakeLists.txt
@@ -134,6 +134,11 @@ elseif(UNIX)
add_definitions(-DPREFIX="${CMAKE_INSTALL_PREFIX}")
+ if(X11_XF86keysym_INCLUDE_PATH)
+ add_definitions(-DWITH_XF86KEYSYM)
+ list(APPEND INC ${X11_XF86keysym_INCLUDE_PATH})
+ endif()
+
elseif(WIN32)
if(MSVC)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /WX")