AbaKus – a complex calculator
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ConfigureChecks.cmake 863B

123456789101112131415161718192021222324252627282930
  1. #################################################
  2. #
  3. # (C) 2011 Timothy Pearson
  4. # kb9vqf (AT) pearsoncomputing.net
  5. #
  6. # Improvements and feedback are welcome
  7. #
  8. # This file is released under GPL >= 2
  9. #
  10. #################################################
  11. if( BUILD_TRANSLATIONS AND NOT DEFINED MSGFMT_EXECUTABLE )
  12. find_program( MSGFMT_EXECUTABLE msgfmt )
  13. if( NOT MSGFMT_EXECUTABLE )
  14. tde_message_fatal( "msgfmt program is required, but was not found on your system" )
  15. endif( )
  16. endif( )
  17. check_type_size( "int" SIZEOF_INT BUILTIN_TYPES_ONLY )
  18. check_type_size( "long" SIZEOF_LONG BUILTIN_TYPES_ONLY )
  19. check_include_file( stdint.h HAVE_STDINT_H )
  20. check_include_file( systems.h HAVE_SYSTEMS_H )
  21. check_include_file( linux/inotify.h HAVE_INOTIFY )
  22. check_function_exists( statvfs HAVE_STATVFS )
  23. # common required stuff
  24. find_package( TQt )
  25. find_package( TDE )