2020-10-07 06:00:58 +08:00
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
2022-06-21 05:18:58 +08:00
|
|
|
index a4b96376..8b966872 100644
|
2020-10-07 06:00:58 +08:00
|
|
|
--- a/CMakeLists.txt
|
|
|
|
+++ b/CMakeLists.txt
|
2022-06-21 05:18:58 +08:00
|
|
|
@@ -49,7 +49,7 @@ find_package(APR-Util REQUIRED)
|
2021-10-15 08:54:32 +08:00
|
|
|
find_package( Threads REQUIRED )
|
2020-10-07 06:00:58 +08:00
|
|
|
|
2021-10-15 08:54:32 +08:00
|
|
|
# Find expat for XML parsing
|
|
|
|
-find_package(EXPAT REQUIRED)
|
2021-02-04 03:14:54 +08:00
|
|
|
+find_package(expat CONFIG REQUIRED)
|
2022-06-21 05:18:58 +08:00
|
|
|
if(TARGET EXPAT::EXPAT)
|
|
|
|
set(EXPAT_LIBRARIES EXPAT::EXPAT)
|
|
|
|
elseif(TARGET expat::expat)
|