summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-03-26 17:24:40 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2014-03-26 17:24:40 (GMT)
commit2cb8417584e0a8c7820a60bdde0827042c0986e0 (patch)
tree1dec0e2d2cd6b6d5fa981ef79822a80eeab827c3 /Modules
parenta11d1c6135fc752d1153192a02f0384e79c8094b (diff)
parent63a4c0af31fd067a189aaa44cd4b8d17e9efd5c7 (diff)
downloadCMake-2cb8417584e0a8c7820a60bdde0827042c0986e0.zip
CMake-2cb8417584e0a8c7820a60bdde0827042c0986e0.tar.gz
CMake-2cb8417584e0a8c7820a60bdde0827042c0986e0.tar.bz2
Merge topic 'FindPkgConfig-stop-on-missing'
63a4c0af FindPkgConfig: Stop processing when REQUIRED package not found (#14381)
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindPkgConfig.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindPkgConfig.cmake b/Modules/FindPkgConfig.cmake
index 286cc23..8327143 100644
--- a/Modules/FindPkgConfig.cmake
+++ b/Modules/FindPkgConfig.cmake
@@ -337,7 +337,7 @@ macro(_pkg_check_modules_internal _is_required _is_silent _no_cmake_path _no_cma
if(_pkg_check_modules_failed)
# fail when requested
if (${_is_required})
- message(SEND_ERROR "A required package was not found")
+ message(FATAL_ERROR "A required package was not found")
endif ()
else()
# when we are here, we checked whether requested modules