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
Doxygen
Git
GitSetup
KWIML
KWStyle
Release
Scripts
Sphinx
cmbzip2
cmcompress
cmcurl
cmexpat
cmjsoncpp
cmlibarchive
cmliblzma
cmzlib
.NoDartCoverage -rw-r--r-- 39 bytes
.gitattributes -rw-r--r-- 76 bytes
CMakeLists.txt -rw-r--r-- 1.4 KB
SetupForDevelopment.sh -rwxr-xr-x 392 bytes
cmThirdParty.h.in -rw-r--r-- 1.0 KB
cm_bzlib.h -rw-r--r-- 784 bytes
cm_curl.h -rw-r--r-- 795 bytes
cm_expat.h -rw-r--r-- 788 bytes
cm_jsoncpp_reader.h -rw-r--r-- 828 bytes
cm_jsoncpp_value.h -rw-r--r-- 824 bytes
cm_jsoncpp_writer.h -rw-r--r-- 828 bytes
cm_kwiml.h -rw-r--r-- 858 bytes
cm_libarchive.h -rw-r--r-- 894 bytes
cm_lzma.h -rw-r--r-- 785 bytes
cm_xmlrpc.h -rw-r--r-- 776 bytes
cm_zlib.h -rw-r--r-- 777 bytes

back to top