summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
blob: 5a6ef70d32577351151ad814621888120361af1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#################################################
#
#  (C) 2011 Timothy Pearson
#  kb9vqf (AT) pearsoncomputing.net
#
#  Improvements and feedback are welcome
#
#  This file is released under GPL >= 2
#
#################################################

if( BUILD_TRANSLATIONS AND NOT DEFINED MSGFMT_EXECUTABLE )
  find_program( MSGFMT_EXECUTABLE msgfmt )
  if( NOT MSGFMT_EXECUTABLE )
    tde_message_fatal( "msgfmt program is required, but was not found on your system" )
  endif( )
endif( )

# common required stuff
find_package( TQt )
find_package( TDE )

# check required packages
pkg_search_module( XMU xmu )
if( NOT XMU_FOUND )
  tde_message_fatal( "xmu is required, but was not found on your system" )
endif( )

pkg_search_module( XPM xpm )
if( NOT XPM_FOUND )
  tde_message_fatal( "xpm is required, but was not found on your system" )
endif( )