aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBilly O'Neal <bion@microsoft.com>2020-10-06 21:04:46 -0700
committerGitHub <noreply@github.com>2020-10-06 21:04:46 -0700
commit7dc0049439681a7f9537af420573d0ac3ef6ce31 (patch)
tree20a44254b6d5a0fb4ac8693e38cadc9d4c2a5ebb
parent41ec19fa8a61483469dde7e51282e64b42aa1a4e (diff)
downloadvcpkg-7dc0049439681a7f9537af420573d0ac3ef6ce31.tar.gz
vcpkg-7dc0049439681a7f9537af420573d0ac3ef6ce31.zip
[log4cxx] Fix osx build break by not building tests that require a Java compiler. (#13908)
-rw-r--r--ports/log4cxx/CONTROL1
-rw-r--r--ports/log4cxx/portfile.cmake1
2 files changed, 2 insertions, 0 deletions
diff --git a/ports/log4cxx/CONTROL b/ports/log4cxx/CONTROL
index 45a242ee4..b7713bd2f 100644
--- a/ports/log4cxx/CONTROL
+++ b/ports/log4cxx/CONTROL
@@ -1,5 +1,6 @@
Source: log4cxx
Version: 0.11.0
+Port-Version: 1
Homepage: https://logging.apache.org/log4cxx
Description: Apache log4cxx is a logging framework for C++ patterned after Apache log4j, which uses Apache Portable Runtime for most platform-specific code and should be usable on any platform supported by APR
Supports: !uwp
diff --git a/ports/log4cxx/portfile.cmake b/ports/log4cxx/portfile.cmake
index 7c533c28d..2e9a421af 100644
--- a/ports/log4cxx/portfile.cmake
+++ b/ports/log4cxx/portfile.cmake
@@ -19,6 +19,7 @@ vcpkg_configure_cmake(
PREFER_NINJA
OPTIONS
-DLOG4CXX_INSTALL_PDB=OFF # Installing pdbs failed on debug static. So, disable it and let vcpkg_copy_pdbs() do it
+ -DBUILD_TESTING=OFF
)
vcpkg_install_cmake()