dcopidl.bat expects that perl is in the PATH. Perhaps this file could be configured, and the FindPerl.cmake module could be used to find perl, then a full path to perl could be used. -Bill