vcpkg/ports/log4cxx/fix-find-package.patch
Stephen Webb a54c4ba3ae
[log4cxx] Add 1.3.0 (#41927)
Co-authored-by: Stephen Webb <swebb2066@gmail.com>
2024-11-11 00:35:42 -08:00

14 lines
441 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7b1c0d52..62c4fb43 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -70,7 +70,7 @@ find_package( Threads REQUIRED )
include("${CMAKE_CURRENT_LIST_DIR}/src/cmake/FindLibFuzzer.cmake")
# Find expat for XML parsing
-find_package(EXPAT REQUIRED)
+find_package(expat CONFIG REQUIRED)
if(TARGET EXPAT::EXPAT)
set(EXPAT_LIBRARIES EXPAT::EXPAT)
elseif(TARGET expat::expat)