diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2013-07-07 20:48:40 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2013-07-10 02:11:19 +0200 |
commit | 37c0b00fbf5506397c2e7b73b35f2931ead9e483 (patch) | |
tree | b47ba5de58639ea454020de0e233906a25f81904 /ConfigureChecks.cmake | |
parent | 400e114c310a8a35bd3418be22ab04661cb7bfdc (diff) | |
download | tdedocker-37c0b00fbf5506397c2e7b73b35f2931ead9e483.tar.gz tdedocker-37c0b00fbf5506397c2e7b73b35f2931ead9e483.zip |
Convert from qmake to cmake
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r-- | ConfigureChecks.cmake | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake new file mode 100644 index 0000000..5a6ef70 --- /dev/null +++ b/ConfigureChecks.cmake @@ -0,0 +1,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( ) + |