I found my problem:
The used execute_process()
does’nt allow on windows multible commands like:
CONFIGURE_COMMAND
cd <SOURCE_DIR> && ${PERL_PROGRAM} Configure ...
And for the build
and install
command, I have to use the BUILD_IN_SOURCE
option to prevent:
cd <SOURCE_DIR> && ${MAKE_PROGRAM} ${INSTALL_SW}