<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Arial; font-size: 12pt; color: #000000'>I have a Visual Studio 2010 solution and I am trying to set the<br>Configuration Properties -> General -> Platform Toolset of one<br>particular project to use V90 to allow this project to build with the VS<br>2008 tool set. I followed an older thread and tried this:<br><br>set_target_properties(WindowsApplication${version} PROPERTIES<br>PlatformToolset "V90")<br> <br>That results in an error: "set_target_properties Can not find target to<br>add properties to". ${version} is set to a version string and the term<br>WindowsApplication${version} is used later in the file by an<br>"add_library" and a "target_link_library with no error. How can I set the <br>platform toolset to V90 from CMAKE?<br><br>Gary G. Little<br></div></body></html>