[Cmake-commits] Using set_target_properties

Brad King brad.king at kitware.com
Wed Dec 1 08:54:37 EST 2010


Hi Gary,

Please bring questions to the main CMake list:

http://www.cmake.org/mailman/listinfo/cmake

with address "cmake at cmake.org".  This list is for automated commit
notifications only.

On 11/30/2010 01:00 PM, Gary%20G.%20Little%20%40%20comcast wrote:
> I have a Visual Studio 2010 solution and I am trying to set the
> Configuration Properties -> General -> Platform Toolset of one
> particular project to use V90 to allow this project to build with the VS
> 2008 tool set. I followed an older thread and tried this:
> 
> set_target_properties(WindowsApplication${version} PROPERTIES
> PlatformToolset "V90")
> 
> That results in an error: "set_target_properties Can not find target to
> add properties to". ${version} is set to a version string and the term
> WindowsApplication${version} is used later in the file by an
> "add_library" and a "target_link_library with no error.

http://www.cmake.org/Bug/view.php?id=10722

-Brad



More information about the Cmake-commits mailing list