View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013902CMakeCMakepublic2013-02-08 14:172014-06-02 08:37
ReporterStephen Kelly 
Assigned ToStephen Kelly 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake 2.8.11 
Target VersionFixed in VersionCMake 3.0 
Summary0013902: target_link_libraries should not accept utility targets
Description
Code like this should throw an error. A policy will be needed for this.

 add_custom_target(check ALL
   COMMAND ${CMAKE_COMMAND} -E echo check
 )
 
 target_link_libraries(check somelib)
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0032238)
Rolf Eike Beer (developer)
2013-02-08 15:46

I don't think that this could serve any useful purpose, so I would just make this an unconditional bug.
(0034426)
Stephen Kelly (developer)
2013-11-08 17:09

Done:

 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=596b2a8c [^]
(0036006)
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-02-08 14:17 Stephen Kelly New Issue
2013-02-08 15:46 Rolf Eike Beer Note Added: 0032238
2013-11-08 17:09 Stephen Kelly Note Added: 0034426
2013-11-08 17:09 Stephen Kelly Status new => resolved
2013-11-08 17:09 Stephen Kelly Fixed in Version => CMake 3.0
2013-11-08 17:09 Stephen Kelly Resolution open => fixed
2013-11-08 17:09 Stephen Kelly Assigned To => Stephen Kelly
2014-06-02 08:37 Robert Maynard Note Added: 0036006
2014-06-02 08:37 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team