View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014808CMakeCMakepublic2014-03-14 11:362014-10-06 10:32
ReporterMichał Cichoń 
Assigned ToStephen Kelly 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformPCOSWindowsOS Version7 x64
Product VersionCMake 3.0 
Target VersionCMake 3.0Fixed in VersionCMake 3.0 
Summary0014808: Policy CMP0026 set OLD not working for <CONFIG>_LOCATION
DescriptionCMake is no longer able to return <CONFIG>_LOCATION even if policy is explicitly set. Instead LOCATION_<CONFIG> return desired values. Backward compatibility therefore is broken.
Steps To ReproduceCall on any target:
get_target_property(result <target_name> DEBUG_LOCATION)

You will get: result-NOTFOUND
Sould be: path to location for debug configuration.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0035408)
Brad King (manager)
2014-03-14 11:42
edited on: 2014-03-14 11:42

It was dropped here:

 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=a55c70de [^]

(0035409)
Brad King (manager)
2014-03-14 11:44

Steve, this is a regression. It doesn't matter whether it was documented before: it worked. It needs to be folded in to the old behavior of the policy.
(0035418)
Brad King (manager)
2014-03-17 10:05

Fixed:

 cmTarget: Restore <CONFIG>_LOCATION to CMP0026 OLD behavior
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=c903b531 [^]

This will be in 3.0.0-rc2.
(0036945)
Robert Maynard (manager)
2014-10-06 10:32

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

 Issue History
Date Modified Username Field Change
2014-03-14 11:36 Michał Cichoń New Issue
2014-03-14 11:42 Brad King Assigned To => Stephen Kelly
2014-03-14 11:42 Brad King Status new => assigned
2014-03-14 11:42 Brad King Note Added: 0035408
2014-03-14 11:42 Brad King Note Edited: 0035408
2014-03-14 11:44 Brad King Note Added: 0035409
2014-03-14 11:47 Brad King Summary Policy CMP0026 set OLD not working => Policy CMP0026 set OLD not working for <CONFIG>_LOCATION
2014-03-17 10:05 Brad King Note Added: 0035418
2014-03-17 10:05 Brad King Status assigned => resolved
2014-03-17 10:05 Brad King Resolution open => fixed
2014-03-17 10:05 Brad King Product Version => CMake 3.0
2014-03-17 10:05 Brad King Fixed in Version => CMake 3.0
2014-03-17 10:05 Brad King Target Version => CMake 3.0
2014-10-06 10:32 Robert Maynard Note Added: 0036945
2014-10-06 10:32 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team