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
static
templates
.gitignore -rw-r--r-- 6 bytes
CMakeLists.txt -rw-r--r-- 6.8 KB
apply_qthelp_css_workaround.cmake -rw-r--r-- 437 bytes
cmake.py -rw-r--r-- 15.3 KB
conf.py.in -rw-r--r-- 2.2 KB
create_identifiers.py -rwxr-xr-x 1.3 KB
fixup_qthelp_names.cmake -rw-r--r-- 781 bytes

back to top