summaryrefslogtreecommitdiffstats
path: root/src/plugins/printsupport
diff options
context:
space:
mode:
authorJean-Michaël Celerier <jean-michael.celerier@kdab.com>2019-09-24 10:12:10 +0200
committerJean-Michaël Celerier <jean-michael.celerier@kdab.com>2019-09-24 12:00:36 +0000
commitd64fa78829893ef54fced18d0ed306a482794e02 (patch)
tree3451b207a9a81047f25a76116713cd2216a95afd /src/plugins/printsupport
parentc3131f9f5e78eb661eddb8d536b25ee8ed5516fc (diff)
Add CMakeLists.txt for cocoa printsupport plug-in
Change-Id: I0cc8b2827e0986d9ef486f327e7d84362e7d99c4 Reviewed-by: Leander Beernaert <leander.beernaert@qt.io> Reviewed-by: Qt CMake Build Bot Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/plugins/printsupport')
-rw-r--r--src/plugins/printsupport/CMakeLists.txt2
-rw-r--r--src/plugins/printsupport/cocoa/CMakeLists.txt25
2 files changed, 26 insertions, 1 deletions
diff --git a/src/plugins/printsupport/CMakeLists.txt b/src/plugins/printsupport/CMakeLists.txt
index 9a92a865c0..df4167a2ae 100644
--- a/src/plugins/printsupport/CMakeLists.txt
+++ b/src/plugins/printsupport/CMakeLists.txt
@@ -1,5 +1,5 @@
if (APPLE_OSX)
-# TODO add_subdirectory(cocoa)
+ add_subdirectory(cocoa)
endif()
if (WIN32)
diff --git a/src/plugins/printsupport/cocoa/CMakeLists.txt b/src/plugins/printsupport/cocoa/CMakeLists.txt
new file mode 100644
index 0000000000..e35c8e5d09
--- /dev/null
+++ b/src/plugins/printsupport/cocoa/CMakeLists.txt
@@ -0,0 +1,25 @@
+# Generated from cocoa.pro.
+
+#####################################################################
+## cocoaprintersupport Plugin:
+#####################################################################
+
+add_qt_plugin(cocoaprintersupport
+ TYPE printsupport
+ CLASS_NAME QCocoaPrinterSupportPlugin
+ SOURCES
+ main.cpp
+ LIBRARIES
+ Qt::GuiPrivate
+ Qt::PrintSupportPrivate
+ PUBLIC_LIBRARIES
+ ${FWAppKit}
+ Qt::Core
+ Qt::Gui
+ Qt::PrintSupport
+)
+
+#### Keys ignored in scope 1:.:.:cocoa.pro:<TRUE>:
+# MODULE = "cocoaprintersupport"
+# OTHER_FILES = "cocoa.json"
+# _LOADED = "qt_plugin"