If you run cmake from the command line with --debug-trycompile it will leave the directory around. Then you can run the test by hand and see what the problem is. -Bill