summaryrefslogtreecommitdiffstats
path: root/kxkb/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2015-06-12 02:56:58 +0200
committerSlávek Banko <[email protected]>2015-06-12 02:56:58 +0200
commit08122b137e76ffcf7067f634a7668002732e11d9 (patch)
tree30507bd9b39b46525b8941f1986dff2fa30f03af /kxkb/ConfigureChecks.cmake
parente1d8ccc637042d5ab84b0d532590f4cf8ef8e567 (diff)
downloadtdebase-08122b137e76ffcf7067f634a7668002732e11d9.tar.gz
tdebase-08122b137e76ffcf7067f634a7668002732e11d9.zip
Fix FTBFS on freebsd
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'kxkb/ConfigureChecks.cmake')
-rw-r--r--kxkb/ConfigureChecks.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/kxkb/ConfigureChecks.cmake b/kxkb/ConfigureChecks.cmake
index 4bf356bc4..edb387849 100644
--- a/kxkb/ConfigureChecks.cmake
+++ b/kxkb/ConfigureChecks.cmake
@@ -13,3 +13,8 @@ find_program( SETXKBMAP setxkbmap )
if( SETXKBMAP-NOTFOUND )
tde_message_fatal( "setxkbmap is required, but not found on your system" )
endif()
+
+pkg_search_module( XKBFILE xkbfile )
+if( NOT XKBFILE_FOUND )
+ tde_message_fatal( "xkbfile is requested, but was not found on your system" )
+endif()