ports/graphics/gmic-qt/files/patch-CMakeLists.txt
Jason E. Hale 08be7df559 graphics/gmic-qt: Update to 3.2.6
Remove the krita flavor. The Krita plugin is now maintained as a
separate fork, so a new port graphics/krita-gmic-plugin has been
created for it.

The GMIC option has also been removed from graphics/krita to avoid
circular dependencies, because the plugin now requires libraries
provided by the krita package.
2023-07-14 10:59:01 -04:00

22 lines
954 B
Text

--- CMakeLists.txt.orig 2023-06-22 09:41:32 UTC
+++ CMakeLists.txt
@@ -309,6 +309,7 @@ if (UNIX)
set(gmic_qt_LIBRARIES
${gmic_qt_LIBRARIES}
${X11_LIBRARIES} # XXX: Search for X11: Wayland is coming!
+ Threads::Threads
)
endif()
endif()
@@ -622,9 +623,9 @@ message("Producing translation .qm files")
endif(ENABLE_DYNAMIC_LINKING)
message("Producing translation .qm files")
-execute_process(COMMAND make WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/translations OUTPUT_QUIET)
+execute_process(COMMAND gmake WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/translations OUTPUT_QUIET)
message("Producing filter translation .qm files")
-execute_process(COMMAND make WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/translations/filters OUTPUT_QUIET)
+execute_process(COMMAND gmake WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/translations/filters OUTPUT_QUIET)
set(gmic_qt_QRC
gmic_qt.qrc