tdepowersave
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 1.4KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. #################################################
  2. #
  3. # (C) 2010 Serghei Amelian
  4. # serghei (DOT) amelian (AT) gmail.com
  5. #
  6. # Improvements and feedback are welcome
  7. #
  8. # This file is released under GPL >= 2
  9. #
  10. #################################################
  11. # required stuff
  12. find_package( TQt )
  13. find_package( TDE )
  14. tde_setup_architecture_flags( )
  15. include(TestBigEndian)
  16. test_big_endian(WORDS_BIGENDIAN)
  17. tde_setup_largefiles( )
  18. ##### check for gcc visibility support
  19. if( WITH_GCC_VISIBILITY )
  20. tde_setup_gcc_visibility( )
  21. endif( WITH_GCC_VISIBILITY )
  22. # check for Xext
  23. pkg_search_module( XEXT xext )
  24. if( NOT XEXT_FOUND )
  25. tde_message_fatal( "Xext are required, but not found on your system" )
  26. endif()
  27. # check for Xtst
  28. pkg_search_module( XTST xtst )
  29. if( NOT XTST_FOUND )
  30. tde_message_fatal( "Xtst are required, but not found on your system" )
  31. endif()
  32. # check for xscrnsaver
  33. pkg_search_module( XSCRNSAVER xscrnsaver )
  34. if( NOT XSCRNSAVER_FOUND )
  35. tde_message_fatal( "xscrnsaver are required, but not found on your system" )
  36. endif()
  37. # check for dbus-1
  38. pkg_search_module( DBUS dbus-1 )
  39. if( NOT DBUS_FOUND )
  40. tde_message_fatal( "dbus-1 is required, but was not found on your system" )
  41. endif( )
  42. # check for dbus-1-tqt
  43. pkg_search_module( DBUS_TQT dbus-1-tqt )
  44. if( NOT DBUS_TQT_FOUND )
  45. tde_message_fatal( "dbus-1-tqt is required, but was not found on your system" )
  46. endif( )