From 17867f0db5ef4cebaaf99b44cb02a431385eb69e Mon Sep 17 00:00:00 2001 From: itsmattkc <34096995+itsmattkc@users.noreply.github.com> Date: Mon, 20 Feb 2023 10:07:11 -0800 Subject: [PATCH] cmake: exclude submodules so they don't get installed --- ext/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/CMakeLists.txt b/ext/CMakeLists.txt index cc819307a6..135d557c33 100644 --- a/ext/CMakeLists.txt +++ b/ext/CMakeLists.txt @@ -14,8 +14,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -add_subdirectory(core) +add_subdirectory(core EXCLUDE_FROM_ALL) set(KDDockWidgets_STATIC ON CACHE INTERNAL "Force KDDockWidgets to build statically") set(KDDockWidgets_QT6 ${BUILD_QT6} CACHE INTERNAL "Conform KDDockWidgets' Qt 6 setting to ours") -add_subdirectory(KDDockWidgets) +add_subdirectory(KDDockWidgets EXCLUDE_FROM_ALL)