Seems to be impossible to use try_run in any sort of portable way since you can't use target_link_libraries and include_directories with it. Right now I have it rigged up, but I actually give it direct GCC commands. So is it possible to use a target with try_run? Or is try_run pretty much just useless? Ian