[cmake-developers] [CMake 0014808]: Policy CMP0026 set OLD not working

Mantis Bug Tracker mantis at public.kitware.com
Fri Mar 14 11:36:37 EDT 2014


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=14808 
====================================================================== 
Reported By:                Michał Cichoń
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14808
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2014-03-14 11:36 EDT
Last Modified:              2014-03-14 11:36 EDT
====================================================================== 
Summary:                    Policy CMP0026 set OLD not working
Description: 
CMake 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 Reproduce: 
Call on any target:
get_target_property(result <target_name> DEBUG_LOCATION)

You will get: result-NOTFOUND
Sould be: path to location for debug configuration.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-03-14 11:36 Michał Cichoń  New Issue                                    
======================================================================



More information about the cmake-developers mailing list