Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
print/pdfmixtool: Fix build after ImageMagick7 7.1.1 update.
iAfter the update to ImageMagick7 7.1.1, build would fail and complain about MAGICKCORE_HDRI_ENABLE not being defined. While pkgconf clearly propagates these additional CFLAGS, the CMakeLists.txt of pdfmixtool does not use them. PR: 276362 Reported by: dev@submerge.ch (maintainer)
- Loading branch information
Showing
2 changed files
with
16 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- CMakeLists.txt.orig 2024-01-16 00:28:44 UTC | ||
+++ CMakeLists.txt | ||
@@ -142,6 +142,12 @@ target_link_libraries ( | ||
${QT_LIBRARIES} | ||
) | ||
|
||
+target_compile_options( | ||
+ pdfmixtool | ||
+ PUBLIC | ||
+ ${MAGICK_CFLAGS_OTHER} | ||
+) | ||
+ | ||
INSTALL(TARGETS pdfmixtool RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) | ||
INSTALL(FILES resources/eu.scarpetta.PDFMixTool.desktop DESTINATION ${CMAKE_INSTALL_DATADIR}/applications) | ||
INSTALL(FILES resources/eu.scarpetta.PDFMixTool.appdata.xml DESTINATION ${CMAKE_INSTALL_DATADIR}/metainfo) |