1
0
mirror of synced 2025-01-22 11:33:46 +01:00

build: Disable install targets of libfmt to fix Windows WIX installer

This commit is contained in:
WerWolv 2025-01-18 11:03:51 +01:00
parent 8d6e7c7d44
commit 59ba6f50cc

View File

@ -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()