"Fossies" - the Fresh Open Source Software Archive

Member "xpdf-4.04/CMakeLists.txt" (18 Apr 2022, 1053 Bytes) of package /linux/misc/xpdf-4.04.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "CMakeLists.txt": 4.03_vs_4.04.

    1 #========================================================================
    2 #
    3 # cmake-xpdf.txt
    4 #
    5 # CMake script for the Xpdf package.
    6 #
    7 # Copyright 2021 Glyph & Cog, LLC
    8 #
    9 #========================================================================
   10 
   11 cmake_minimum_required(VERSION 2.8.12)
   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 AND NOT Qt6Widgets_FOUND)
   32   message(WARNING "Couldn't find Qt4/5/6 -- 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 ()