> The problem is that CMake correctly generates a correct Windows path
> for the COMMAND argument but not so when another FIND_PROGRAM entity
> exists in the ARGS?
STRING(REGEX REPLACE "/" "\\\\" OUT "${IN}")
will convert / to \ for a windows path.
$0.02
JB