Mozilla plugin that launches Kaffeine
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.
 
 
 
 
 

56 lines
1.2 KiB

  1. ###########################################
  2. # #
  3. # Improvements and feedback are welcome #
  4. # #
  5. # This file is released under GPL >= 3 #
  6. # #
  7. ###########################################
  8. tde_setup_architecture_flags( )
  9. include(TestBigEndian)
  10. test_big_endian(WORDS_BIGENDIAN)
  11. tde_setup_largefiles( )
  12. ##### check for gcc visibility support
  13. if( WITH_GCC_VISIBILITY )
  14. tde_setup_gcc_visibility( )
  15. endif( WITH_GCC_VISIBILITY )
  16. ##### look for X11 headers
  17. find_package( X11 )
  18. ##### check for nspr
  19. pkg_search_module( NSPR nspr )
  20. if( NSPR_FOUND )
  21. find_path( NSPR_INCLUDE_DIR nspr/prtypes.h )
  22. set( NSPR_INCLUDE_DIRS "${NSPR_INCLUDE_DIR}/nspr" )
  23. else()
  24. tde_message_fatal( "nspr4 headers are required but were not found on your system" )
  25. endif()
  26. ##### check for libXaw(7)
  27. pkg_search_module( LIBXAW7 xaw7 )
  28. if( LIBXAW7_FOUND )
  29. find_path( LIBXAW7_INCLUDE_DIR X11/Xaw/Box.h )
  30. set( LIBXAW7_INCLUDE_DIRS "${LIBXAW7_INCLUDE_DIR}" )
  31. else()
  32. tde_message_fatal( "libXaw7 is required but was not found on your system" )
  33. endif()
  34. ##### check for the math libc
  35. find_library( MATH_LIBC m )