TDE graphics utilities
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 817B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #################################################
  2. #
  3. # (C) 2010-2011 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. tde_setup_architecture_flags( )
  13. include(TestBigEndian)
  14. test_big_endian(WORDS_BIGENDIAN)
  15. tde_setup_largefiles( )
  16. find_package( TQt )
  17. find_package( TDE )
  18. ##### check for gcc visibility support #########
  19. if( WITH_GCC_VISIBILITY )
  20. tde_setup_gcc_visibility( )
  21. endif( )
  22. # freetype2
  23. if( BUILD_KDVI OR BUILD_KPDF OR BUILD_KSVG )
  24. pkg_search_module( FREETYPE freetype2 )
  25. if( FREETYPE_FOUND )
  26. set( HAVE_FREETYPE 1 )
  27. else( )
  28. tde_message_fatal( "freetype2 is required, but was not found on your system" )
  29. endif( )
  30. endif( )