Sword tdeio plugin
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.

34 lines
813 B

  1. ###########################################
  2. # #
  3. # Improvements and feedback are welcome #
  4. # #
  5. # This file is released under GPL >= 3 #
  6. # #
  7. ###########################################
  8. # required stuff
  9. find_package( TQt )
  10. find_package( TDE )
  11. tde_setup_architecture_flags( )
  12. include(TestBigEndian)
  13. test_big_endian(WORDS_BIGENDIAN)
  14. tde_setup_largefiles( )
  15. ##### check for gcc visibility support
  16. if( WITH_GCC_VISIBILITY )
  17. tde_setup_gcc_visibility( )
  18. endif( WITH_GCC_VISIBILITY )
  19. ##### check for sword
  20. pkg_search_module( LIBSWORD sword )
  21. if( NOT LIBSWORD_FOUND )
  22. tde_message_fatal( "The sword library is required but was not found on your system." )
  23. endif( NOT LIBSWORD_FOUND )