vcpkg/ports/log4cxx/fix-find-package.patch
MonicaLiu 19f945ab2c
[log4cxx] update to 1.3.1 (#42943)
Co-authored-by: Monica <v-liumonica@microsoft.com>
2024-12-30 10:26:41 -05:00

14 lines
404 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 498d0b5..22815a5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -67,7 +67,7 @@ find_package(APR-Util REQUIRED)
find_package( Threads REQUIRED )
# 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)