View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014670CMakeCCMakepublic2013-12-26 04:112014-06-02 08:37
ReporterSascha Kratky 
Assigned ToStephen Kelly 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformMacOSOS XOS Version10.9.1
Product VersionCMake 2.8.11.1 
Target VersionFixed in VersionCMake 3.0 
Summary0014670: get_property does not work for ALIASED_TARGET property
DescriptionRetrieving the ALIASED_TARGET property with the get_property function results in the runtime error:

CMake Error at CMakeLists.txt:10 (get_property):
  get_property unknown error.
Steps To Reproducecmake_minimum_required(VERSION 2.8.12)

add_executable(main main.cpp)

# works
get_target_property (_aliasTarget main ALIASED_TARGET)
message(STATUS "${_aliasTarget}")

# does not work
get_property (_aliasTargetIsSet TARGET main PROPERTY ALIASED_TARGET SET)
get_property (_aliasTarget TARGET main PROPERTY ALIASED_TARGET)
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0034877)
Stephen Kelly (developer)
2013-12-26 06:59

Thanks. Fixed:

 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=8e66cbcf [^]
(0036067)
Robert Maynard (manager)
2014-06-02 08:37

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2013-12-26 04:11 Sascha Kratky New Issue
2013-12-26 06:59 Stephen Kelly Note Added: 0034877
2013-12-26 06:59 Stephen Kelly Status new => resolved
2013-12-26 06:59 Stephen Kelly Fixed in Version => CMake 3.0
2013-12-26 06:59 Stephen Kelly Resolution open => fixed
2013-12-26 06:59 Stephen Kelly Assigned To => Stephen Kelly
2014-06-02 08:37 Robert Maynard Note Added: 0036067
2014-06-02 08:37 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team