separate_arguments handles escaped double quotes incorrectly
set(simplestr "simpl\"poi\"estr argo")
message("simplestr: ${simplestr}")
separate_arguments(lst_simple UNIX_COMMAND ${simplestr})
message("lst_simple: ${lst_simple}")
output:
simplestr: simpl"poi"estr argo
lst_simple: simplpoiestr;argo
The error remains - the escaped quotas are removed - when using WINDOWS_COMMAND and also for real simple strings (w/o spaces, but still with escaped quotes)
Tested on Win10, cmake 3.21.3