From 96cb9967aab87efa8ffc6d7335c3f753e22908a1 Mon Sep 17 00:00:00 2001 From: "Robin E.R. Davies" Date: Tue, 27 Jan 2026 17:14:56 -0500 Subject: [PATCH] Exclude .h and .a files in install. --- modules/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/CMakeLists.txt b/modules/CMakeLists.txt index f9aee83..7570ab5 100644 --- a/modules/CMakeLists.txt +++ b/modules/CMakeLists.txt @@ -1,6 +1,9 @@ cmake_minimum_required(VERSION 3.16.0) -add_subdirectory("SQLiteCpp") +# Prevent installation of SQLite built components. (we use the .a library files directly) + +add_subdirectory("SQLiteCpp" EXCLUDE_FROM_ALL) + set(SDBUSCPP_BUILD_CODEGEN off) set(SDBUSCPP_INSTALL off)