Advertisement
randUser

CMakeLists.txt

Jun 12th, 2018
495
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. #========================================================================
  2. #
  3. # cmake-xpdf.txt
  4. #
  5. # CMake script for the Xpdf package.
  6. #
  7. # Copyright 2015 Glyph & Cog, LLC
  8. #
  9. #========================================================================
  10.  
  11. cmake_minimum_required(VERSION 2.8.8)
  12.  
  13. project(xpdf)
  14.  
  15. include(cmake-config.txt)
  16.  
  17. add_subdirectory(goo)
  18. add_subdirectory(fofi)
  19. add_subdirectory(splash)
  20. add_subdirectory(xpdf)
  21. add_subdirectory(xpdf-qt)
  22.  
  23. if (NOT HAVE_FREETYPE_H)
  24. message(WARNING "Couldn't find FreeType -- will not build pdftoppm, pdftopng, pdftohtml, or xpdf.")
  25. endif ()
  26.  
  27. if (NOT PNG_FOUND)
  28. message(WARNING "Couldn't find libpng -- will not build pdftopng or pdftohtml.")
  29. endif ()
  30.  
  31. if (NOT QT4_FOUND AND NOT Qt5Widgets_FOUND)
  32. message(WARNING "Couldn't find Qt4 or Qt5 -- will not build xpdf.")
  33. endif ()
  34.  
  35. if (NOT MULTITHREADED)
  36. message(WARNING "Multithreading is disabled -- will not build xpdf.")
  37. endif ()
  38.  
  39. if (NOT USE_EXCEPTIONS)
  40. message(WARNING "C++ exceptions are disabled -- will not build xpdf.")
  41. endif ()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement