The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=15451 
====================================================================== 
Reported By:                Bjoern Thiel
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15451
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2015-03-17 07:30 EDT
Last Modified:              2015-03-17 07:30 EDT
====================================================================== 
Summary:                    Setting MAP_IMPORTED_CONFIG_<CONFIG> hides
IMPORTED_LOCATION
Description: 
I thought IMPORTED_LOCATION is a fall back for IMPORTED_LOCATION_<CONFIG> and
should be found in any case. But cmTarget::GetMappedConfig gives up too early:
if(!mappedConfigs.empty() && !*loc && !*imp) { return false; } (line 5540)
Example: set(CMAKE_MAP_IMPORTED_CONFIG_RELWITHDEBINFO RELEASE) and try to use
Qt5::moc in the RelWithDebInfo configuration.

Steps to Reproduce: 
See above.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2015-03-17 07:30 Bjoern Thiel   New Issue                                    
======================================================================

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to