From 72404ef3e1e5ad3513986308d26f4af48ba9d28d Mon Sep 17 00:00:00 2001 From: Tobias Hunger Date: Tue, 26 Mar 2019 13:32:34 +0100 Subject: CMake: allow custom plugin output/install directories Only require TYPE if no OUTPUT_DIRECTORY, ARCHIVE_INSTALL_DIRECTORY and INSTALL_DIRECTORY is provided. Change-Id: I6db1cfaa576bfa3ee3dc8ecf81db20e3afcd61e2 Reviewed-by: Alexandru Croitor --- examples/widgets/tools/plugandpaint/plugins/basictools/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'examples/widgets/tools') diff --git a/examples/widgets/tools/plugandpaint/plugins/basictools/CMakeLists.txt b/examples/widgets/tools/plugandpaint/plugins/basictools/CMakeLists.txt index f736d09d41..a059d0deab 100644 --- a/examples/widgets/tools/plugandpaint/plugins/basictools/CMakeLists.txt +++ b/examples/widgets/tools/plugandpaint/plugins/basictools/CMakeLists.txt @@ -8,6 +8,7 @@ add_qt_plugin(pnp_basictools # special case STATIC # special case OUTPUT_DIRECTORY ../../plugins # special case INSTALL_DIRECTORY ../../plugins # special case + ARCHIVE_INSTALL_DIRECTORY ../../plugins # special case SOURCES basictoolsplugin.cpp basictoolsplugin.h INCLUDE_DIRECTORIES -- cgit v1.2.3