From 59ba6f50cc8d9590b577e29825effc441c28b482 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Sat, 18 Jan 2025 11:03:51 +0100 Subject: [PATCH] build: Disable install targets of libfmt to fix Windows WIX installer --- cmake/build_helpers.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/build_helpers.cmake b/cmake/build_helpers.cmake index 3961b7ee5..54d361d7b 100644 --- a/cmake/build_helpers.cmake +++ b/cmake/build_helpers.cmake @@ -654,6 +654,7 @@ macro(addBundledLibraries) set(FPHSA_NAME_MISMATCHED ON CACHE BOOL "") if(NOT USE_SYSTEM_FMT) + set(FMT_INSTALL OFF CACHE BOOL "Disable install targets for libfmt" FORCE) add_subdirectory(${THIRD_PARTY_LIBS_FOLDER}/fmt EXCLUDE_FROM_ALL) set(FMT_LIBRARIES fmt::fmt-header-only) else()