Looking through the cmake sources I found the solution myself. There is some code commented out in cmakemain.cxx I submitted it to the bug tracker: http://www.cmake.org/Bug/bug.php?op=show&bugid=4386 Thanks again, cheers, Jorrit