You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by ts...@apache.org on 2020/02/09 20:20:26 UTC
[logging-log4cxx] 46/49: Halt with an error if either APR or
APR-Util cannot be found
This is an automated email from the ASF dual-hosted git repository.
tschoening pushed a commit to branch ghpr_14_replace-ant-build-with-cmake
in repository https://gitbox.apache.org/repos/asf/logging-log4cxx.git
commit c8eb659f5ea573d144dd2f3f92c4ddcb10ef2736
Author: Stephen Webb <sw...@gmail.com>
AuthorDate: Sun Feb 9 18:27:50 2020 +1100
Halt with an error if either APR or APR-Util cannot be found
---
CMakeLists.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 280d50d..2809445 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -7,10 +7,10 @@ include(CTest)
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/src/cmake")
# Find Apache Runtime
-find_package(APR QUIET)
+find_package(APR REQUIRED)
# Find Apache Runtime Utilities
-find_package(APR-Util QUIET)
+find_package(APR-Util REQUIRED)
# Building
add_subdirectory(src)