diff options
author | Alex Fraser <alex@phatcore.com> | 2012-01-02 16:25:14 +0400 |
---|---|---|
committer | Alex Fraser <alex@phatcore.com> | 2012-01-02 16:25:14 +0400 |
commit | c2bb2857506a33ca12c4fbc08eee2ce5e2f73145 (patch) | |
tree | 8c362f824230919cb5abedd94f03a77ae4cd456a /intern/ghost/CMakeLists.txt | |
parent | 7d19ff14979e47c6f91eac892b2a3cd5b7108cec (diff) |
Mode switching for GHOST under X11: adds the ability to change screen resolutions in the blenderplayer on GNU/Linux.
Code ported from Quake 2.
Diffstat (limited to 'intern/ghost/CMakeLists.txt')
-rw-r--r-- | intern/ghost/CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/intern/ghost/CMakeLists.txt b/intern/ghost/CMakeLists.txt index a84ff5825a9..35b617e5452 100644 --- a/intern/ghost/CMakeLists.txt +++ b/intern/ghost/CMakeLists.txt @@ -234,6 +234,13 @@ elseif(UNIX) ) endif() + if(WITH_X11_XF86VMODE) + add_definitions(-DWITH_X11_XF86VMODE) + list(APPEND INC_SYS + ${X11_xf86vmode_INCLUDE_PATH} + ) + endif() + if(WITH_INPUT_NDOF) list(APPEND SRC intern/GHOST_NDOFManagerX11.cpp |