summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeCommands
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-02-28 14:51:10 (GMT)
committerBrad King <brad.king@kitware.com>2012-02-28 15:01:44 (GMT)
commitd3651041e9f16876d227c757254256039d62d85b (patch)
tree749b74fe9142a703f802efc71653883064f72b5b /Tests/CMakeCommands
parent31ead5f695182dbb96196f9795b6437e013c6567 (diff)
downloadCMake-d3651041e9f16876d227c757254256039d62d85b.zip
CMake-d3651041e9f16876d227c757254256039d62d85b.tar.gz
CMake-d3651041e9f16876d227c757254256039d62d85b.tar.bz2
find_package: Optionally warn when implicitly using Config mode
Define variable CMAKE_FIND_PACKAGE_WARN_NO_MODULE for use by a project that wants to use an explicit mode in every call to find_package in order to generate more specific failure messages. Word the warning using the new CONFIG and MODULE mode keywords when the minimum required version of CMake is new enough to have them. Otherwise word the warning using the old NO_MODULE mode keyword. Inspired-by: Alex Neundorf <neundorf@kde.org>
Diffstat (limited to 'Tests/CMakeCommands')
0 files changed, 0 insertions, 0 deletions