From 050df84072a77397681b187dc57e68efdf5bdd45 Mon Sep 17 00:00:00 2001 From: Erik Sohns Date: Mon, 13 Sep 2021 01:04:30 +0200 Subject: [PATCH] fixed generator expression not correctly handling ',' in data --- CreateLaunchers.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CreateLaunchers.cmake b/CreateLaunchers.cmake index 0702d5b..1e6f9cf 100644 --- a/CreateLaunchers.cmake +++ b/CreateLaunchers.cmake @@ -218,8 +218,9 @@ macro(_launcher_produce_vcproj_user) file(READ "${_launchermoddir}/perconfig.${VCPROJ_TYPE}.user.in" _perconfig) - #generator expressions do not play well with ">" + #generator expressions do not play well with ">" and "," string(REPLACE ">" "$" _perconfig ${_perconfig}) + string(REPLACE "," "$" _perconfig ${_perconfig}) set(config_types) if(CMAKE_CONFIGURATION_TYPES)