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
CHANGES -rw-r--r-- 11.0 KB
CMakeLists.txt -rw-r--r-- 155 bytes
LICENSE -rw-r--r-- 1.9 KB
Makefile-libbz2_so -rw-r--r-- 1.7 KB
README -rw-r--r-- 7.3 KB
README.COMPILATION.PROBLEMS -rw-r--r-- 2.5 KB
README.XML.STUFF -rw-r--r-- 1.3 KB
blocksort.c -rw-r--r-- 30.0 KB
bz-common.xsl -rw-r--r-- 1.0 KB
bz-fo.xsl -rw-r--r-- 10.3 KB
bz-html.xsl -rw-r--r-- 646 bytes
bzdiff -rw-r--r-- 2.1 KB
bzdiff.1 -rw-r--r-- 897 bytes
bzgrep -rw-r--r-- 1.7 KB
bzgrep.1 -rw-r--r-- 1.3 KB
bzip.css -rw-r--r-- 1.7 KB
bzip2.1 -rw-r--r-- 15.9 KB
bzip2.1.preformatted -rw-r--r-- 20.4 KB
bzip2.c -rw-r--r-- 57.3 KB
bzip2.txt -rw-r--r-- 18.5 KB
bzip2recover.c -rw-r--r-- 14.6 KB
bzlib.c -rw-r--r-- 45.0 KB
bzlib.h -rw-r--r-- 6.1 KB
bzlib_private.h -rw-r--r-- 13.5 KB
bzmore -rw-r--r-- 1.3 KB
bzmore.1 -rw-r--r-- 4.2 KB
compress.c -rw-r--r-- 20.1 KB
crctable.c -rw-r--r-- 4.7 KB
decompress.c -rw-r--r-- 19.6 KB
dlltest.c -rw-r--r-- 4.1 KB
dlltest.dsp -rw-r--r-- 3.4 KB
entities.xml -rw-r--r-- 240 bytes
format.pl -rwxr-xr-x 1.7 KB
huffman.c -rw-r--r-- 6.8 KB
libbz2.def -rw-r--r-- 571 bytes
libbz2.dsp -rw-r--r-- 4.2 KB
libbz2.lib -rw-r--r-- 59.3 KB
makefile.msc -rw-r--r-- 1.6 KB
manual.html -rw-r--r-- 124.5 KB
manual.pdf -rw-r--r-- 282.6 KB
manual.ps -rw-r--r-- 1.3 MB
manual.xml -rw-r--r-- 109.3 KB
mk251.c -rw-r--r-- 919 bytes
randtable.c -rw-r--r-- 3.8 KB
sample1.rb2 -rw-r--r-- 31.8 KB
sample1.ref -rw-r--r-- 96.6 KB
sample1.tst -rw-r--r-- 96.6 KB
sample2.rb2 -rw-r--r-- 72.4 KB
sample2.ref -rw-r--r-- 207.6 KB
sample2.tst -rw-r--r-- 207.6 KB
sample3.rb2 -rw-r--r-- 237 bytes
sample3.ref -rw-r--r-- 117.4 KB
sample3.tst -rw-r--r-- 117.4 KB
spewG.c -rw-r--r-- 1.7 KB
unzcrash.c -rw-r--r-- 3.6 KB
words0 -rw-r--r-- 376 bytes
words1 -rw-r--r-- 103 bytes
words2 -rw-r--r-- 186 bytes
words3 -rw-r--r-- 945 bytes
xmlproc.sh -rwxr-xr-x 2.8 KB

README

back to top