From 6e4734520836f6dc85456585e9ba5ac66ae22eb3 Mon Sep 17 00:00:00 2001 From: Robert Adam Date: Sun, 14 Jun 2026 15:41:39 +0200 Subject: [PATCH] Install bundled fmt if required --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index fbbf2953..5a18be5d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -148,7 +148,8 @@ if(soci_use_bundled_fmt) ) endif() - add_subdirectory(3rdparty/fmt EXCLUDE_FROM_ALL) + set(FMT_INSTALL ${SOCI_INSTALL}) + add_subdirectory(3rdparty/fmt) endif() # Helper function appending prefix and suffix to the library name.