From 86fc9df3173d3abdd640c3fc0aa20d0237a89e0a Mon Sep 17 00:00:00 2001 From: Eduard Braun Date: Sat, 29 Jul 2017 17:30:50 +0200 Subject: cmake/MSYS2: Fix fontconfig's conf.d/ not being installed This resulted in font substitutions being broken (i.e. "Sans" was serif) --- CMakeScripts/InstallMSYS2.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CMakeScripts') diff --git a/CMakeScripts/InstallMSYS2.cmake b/CMakeScripts/InstallMSYS2.cmake index 5ad3b9d3e..d4d42ea37 100644 --- a/CMakeScripts/InstallMSYS2.cmake +++ b/CMakeScripts/InstallMSYS2.cmake @@ -163,7 +163,7 @@ if(WIN32) # fontconfig install(DIRECTORY ${MINGW_PATH}/etc/fonts DESTINATION etc - FILES_MATCHING PATTERN "fonts.conf" EXCLUDE) + PATTERN "fonts.conf" EXCLUDE) # adjust fonts.conf to store font cache in AppData set(cachedir_default "\\t^/var/cache/fontconfig^") # the '^' are needed to escape angle brackets on Windows command shell set(cachedir_appdata "\\t^LOCAL_APPDATA_FONTCONFIG_CACHE^") -- cgit v1.2.3