Brad King ff386d1121 Modules: Make imported targets fall back to Release
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).
2016-08-03 11:14:29 -04:00
..
2016-03-09 09:42:18 -05:00
2016-07-28 00:41:13 +02:00
2016-07-28 00:41:13 +02:00
2016-07-28 00:41:13 +02:00
2016-07-28 00:41:13 +02:00
2016-07-28 00:41:13 +02:00
2016-07-28 00:41:13 +02:00
2016-07-28 00:41:13 +02:00
2016-07-28 00:41:13 +02:00
2016-07-28 00:41:13 +02:00
2016-07-13 09:15:16 -04:00
2016-07-06 09:36:10 -04:00
2016-07-28 00:41:13 +02:00
2016-07-28 00:41:13 +02:00
2016-07-28 00:41:13 +02:00
2016-06-08 12:44:03 -04:00
2016-07-28 00:41:13 +02:00
2016-07-28 00:41:13 +02:00
2016-07-28 00:41:13 +02:00
2016-07-28 00:41:13 +02:00

See the "Find Modules" section of the cmake-developer(7) manual page.

For more information about how to contribute modules to CMake, see this page:
https://cmake.org/Wiki/CMake:Module_Maintainers