mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 14:28:59 +08:00
aed77722f8
* [log4cxx] Update to 0.13.0 * [log4cxx] Update to 0.13.0 * [log4cxx] Add license id * [log4cxx] Add license id * [log4cxx] Add license id * [log4cxx] Add license id * [log4cxx] Fix compilation error in static build * Fix compilation error in a static build * Fix compilation error in a static build * Fix compilation error in a static build * [log4cxx] Update to 0.13.0 * update version * update portfile.cmake * update version * update vcpkg_extract_source_archive * update evrsion Co-authored-by: Stephen Webb <stephen.webb@sabreautonomous.com.au> Co-authored-by: Jonliu1993 <13720414433@163.com>
14 lines
393 B
Diff
14 lines
393 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index a4b96376..8b966872 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -49,7 +49,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)
|