https://github.com/Kitware/CMake
Revision ff386d1121ec52854d522d3bb9c86fab286d58ef authored by Brad King on 03 August 2016, 15:12:01 UTC, committed by Brad King on 03 August 2016, 15:14:29 UTC
Find modules only detect Debug and Release configurations.  All other
configurations will fall back to the configuration listed as the first
entry in `IMPORTED_CONFIGURATIONS`.  Switch the order so that `Release`
is listed first, as this is a better fallback than `Debug` for the
`RelWithDebInfo` and `MinSizeRel` configurations.  See issue #16091.

This approach is recommended by documentation in `cmake-developer(7)`
added by commit v3.2.0-rc1~286^2~1 (Help: Document IMPORTED_CONFIGURATIONS
target property for Find modules, 2014-12-04).
1 parent 382c4fc
History
Tip revision: ff386d1121ec52854d522d3bb9c86fab286d58ef authored by Brad King on 03 August 2016, 15:12:01 UTC
Modules: Make imported targets fall back to `Release`
Tip revision: ff386d1
File Mode Size
include
src
.gitattributes -rw-r--r-- 14 bytes
CMakeLists.txt -rw-r--r-- 737 bytes
LICENSE -rw-r--r-- 2.6 KB
README-CMake.txt -rw-r--r-- 2.1 KB

README-CMake.txt

back to top