diff -ur DR_pi-4.0.0.orig/CMakeLists.txt DR_pi-4.0.0/CMakeLists.txt --- DR_pi-4.0.0.orig/CMakeLists.txt 2021-11-04 00:32:44.000000000 -1000 +++ DR_pi-4.0.0/CMakeLists.txt 2021-11-29 00:11:03.998266321 -1000 @@ -61,9 +61,10 @@ ) include(Targets) create_targets(${FLATPAK_MANIFEST}) -if ("${BUILD_TYPE}" STREQUAL "") - return () -endif () +#if ("${BUILD_TYPE}" STREQUAL "") +# return () +#endif () +include(PluginLibs) if (NOT ${BUILD_TYPE} STREQUAL "flatpak") # Build package as required (flatpak already dealt with). diff -ur DR_pi-4.0.0.orig/cmake/PluginInstall.cmake DR_pi-4.0.0/cmake/PluginInstall.cmake --- DR_pi-4.0.0.orig/cmake/PluginInstall.cmake 2021-11-04 00:32:44.000000000 -1000 +++ DR_pi-4.0.0/cmake/PluginInstall.cmake 2021-11-29 00:10:04.241099544 -1000 @@ -11,7 +11,7 @@ # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. -include(Metadata) +#include(Metadata) if (APPLE) install( diff -ur DR_pi-4.0.0.orig/cmake/Targets.cmake DR_pi-4.0.0/cmake/Targets.cmake --- DR_pi-4.0.0.orig/cmake/Targets.cmake 2021-11-04 00:32:44.000000000 -1000 +++ DR_pi-4.0.0/cmake/Targets.cmake 2021-11-29 00:10:18.954386822 -1000 @@ -19,7 +19,7 @@ return() endif () -include(Metadata) +#include(Metadata) if (UNIX AND NOT APPLE AND NOT QT_ANDROID) set(_LINUX ON)