This is an automated email from the ASF dual-hosted git repository.
swebb2066 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4cxx.git
The following commit(s) were added to refs/heads/master by this push:
new f5341b38 Add the cmake build options APR_STATIC and APU_STATIC to the
cmake user interface
f5341b38 is described below
commit f5341b38972e2331311212a82a7580d3b407cf38
Author: Stephen Webb <[email protected]>
AuthorDate: Mon Oct 17 15:57:24 2022 +1100
Add the cmake build options APR_STATIC and APU_STATIC to the cmake user
interface
---
CMakeLists.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b086eac4..03075c67 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -46,9 +46,11 @@ if(ENABLE_COVERAGE)
endif()
# Find Apache Runtime
+option(APR_STATIC "Link to the APR static library" OFF)
find_package(APR REQUIRED)
# Find Apache Runtime Utilities
+option(APU_STATIC "Link to the APR-Util static library" OFF)
find_package(APR-Util REQUIRED)
find_package( Threads REQUIRED )