From 6c50dd596fbc1d12f65f7e28b01df3be3f6f45fa Mon Sep 17 00:00:00 2001 From: Mads Kiilerich Date: Mon, 20 Feb 2012 21:02:43 +0100 Subject: [PATCH] keymaps: don't install keymaps when compiled with xkbfile --- keymaps/CMakeLists.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/keymaps/CMakeLists.txt b/keymaps/CMakeLists.txt index 8970011be..281052a53 100644 --- a/keymaps/CMakeLists.txt +++ b/keymaps/CMakeLists.txt @@ -17,7 +17,8 @@ # See the License for the specific language governing permissions and # limitations under the License. -install(FILES aliases amiga ataritt empty evdev fujitsu hp ibm macintosh macosx sony sun xfree86 xfree98 DESTINATION ${FREERDP_KEYMAP_PATH}) -install(DIRECTORY digital_vndr DESTINATION ${FREERDP_KEYMAP_PATH} FILES_MATCHING PATTERN "*") -install(DIRECTORY sgi_vndr DESTINATION ${FREERDP_KEYMAP_PATH} FILES_MATCHING PATTERN "*") - +if(NOT WITH_XKBFILE) + install(FILES aliases amiga ataritt empty evdev fujitsu hp ibm macintosh macosx sony sun xfree86 xfree98 DESTINATION ${FREERDP_KEYMAP_PATH}) + install(DIRECTORY digital_vndr DESTINATION ${FREERDP_KEYMAP_PATH} FILES_MATCHING PATTERN "*") + install(DIRECTORY sgi_vndr DESTINATION ${FREERDP_KEYMAP_PATH} FILES_MATCHING PATTERN "*") +endif()