CMakeLists.txt (xpdf-4.03) | : | CMakeLists.txt (xpdf-4.04) | ||
---|---|---|---|---|
#======================================================================== | #======================================================================== | |||
# | # | |||
# cmake-xpdf.txt | # cmake-xpdf.txt | |||
# | # | |||
# CMake script for the Xpdf package. | # CMake script for the Xpdf package. | |||
# | # | |||
# Copyright 2015 Glyph & Cog, LLC | # Copyright 2021 Glyph & Cog, LLC | |||
# | # | |||
#======================================================================== | #======================================================================== | |||
cmake_minimum_required(VERSION 2.8.8) | cmake_minimum_required(VERSION 2.8.12) | |||
project(xpdf) | project(xpdf) | |||
include(cmake-config.txt) | include(cmake-config.txt) | |||
add_subdirectory(goo) | add_subdirectory(goo) | |||
add_subdirectory(fofi) | add_subdirectory(fofi) | |||
add_subdirectory(splash) | add_subdirectory(splash) | |||
add_subdirectory(xpdf) | add_subdirectory(xpdf) | |||
add_subdirectory(xpdf-qt) | add_subdirectory(xpdf-qt) | |||
if (NOT HAVE_FREETYPE_H) | if (NOT HAVE_FREETYPE_H) | |||
message(WARNING "Couldn't find FreeType -- will not build pdftoppm, pdftopng, pdftohtml, or xpdf.") | message(WARNING "Couldn't find FreeType -- will not build pdftoppm, pdftopng, pdftohtml, or xpdf.") | |||
endif () | endif () | |||
if (NOT PNG_FOUND) | if (NOT PNG_FOUND) | |||
message(WARNING "Couldn't find libpng -- will not build pdftopng or pdftohtml. ") | message(WARNING "Couldn't find libpng -- will not build pdftopng or pdftohtml. ") | |||
endif () | endif () | |||
if (NOT QT4_FOUND AND NOT Qt5Widgets_FOUND) | if (NOT QT4_FOUND AND NOT Qt5Widgets_FOUND AND NOT Qt6Widgets_FOUND) | |||
message(WARNING "Couldn't find Qt4 or Qt5 -- will not build xpdf.") | message(WARNING "Couldn't find Qt4/5/6 -- will not build xpdf.") | |||
endif () | endif () | |||
if (NOT MULTITHREADED) | if (NOT MULTITHREADED) | |||
message(WARNING "Multithreading is disabled -- will not build xpdf.") | message(WARNING "Multithreading is disabled -- will not build xpdf.") | |||
endif () | endif () | |||
if (NOT USE_EXCEPTIONS) | if (NOT USE_EXCEPTIONS) | |||
message(WARNING "C++ exceptions are disabled -- will not build xpdf.") | message(WARNING "C++ exceptions are disabled -- will not build xpdf.") | |||
endif () | endif () | |||
End of changes. 3 change blocks. | ||||
4 lines changed or deleted | 4 lines changed or added |