From 7014b37bec91199fd9f4b3d0a6f9dd8a15a4ec49 Mon Sep 17 00:00:00 2001 From: Michael D Starch Date: Thu, 28 Mar 2024 13:06:19 -0700 Subject: [PATCH] Fix INI newline processing. Fixes #2630 --- cmake/settings/ini.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/settings/ini.cmake b/cmake/settings/ini.cmake index 42ceaf98b3..67256094a5 100644 --- a/cmake/settings/ini.cmake +++ b/cmake/settings/ini.cmake @@ -57,6 +57,7 @@ function(ini_to_cache) unset(CMAKE_INSTALL_PREFIX CACHE) endif() # Process line-by-line + STRING(REPLACE "\n" ";" INI_OUTPUT "${INI_OUTPUT}") foreach(LINE IN LISTS INI_OUTPUT) # Skip malformed lines if (NOT LINE MATCHES "^[A-Za-z0-9_]+=")