Permalink
Browse files

keymaps: don't install keymaps when compiled with xkbfile

  • Loading branch information...
1 parent a252002 commit 6c50dd596fbc1d12f65f7e28b01df3be3f6f45fa @kiilerix kiilerix committed Feb 20, 2012
Showing with 5 additions and 4 deletions.
  1. +5 −4 keymaps/CMakeLists.txt
View
@@ -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()

0 comments on commit 6c50dd5

Please sign in to comment.