aboutsummaryrefslogtreecommitdiff
path: root/ports/libkml/fix-expat.patch
diff options
context:
space:
mode:
authorAlexander Neumann <30894796+Neumann-A@users.noreply.github.com>2020-08-28 07:20:06 +0200
committerGitHub <noreply@github.com>2020-08-27 22:20:06 -0700
commit53a47bca4f5574bc3c7630d8e07b1fc8f580165f (patch)
tree37d50100c3e2ba52ec553f18cea45fd8db4f55c3 /ports/libkml/fix-expat.patch
parent2f52c7cbaa13650c525c843af4699fda19c819f7 (diff)
downloadvcpkg-53a47bca4f5574bc3c7630d8e07b1fc8f580165f.tar.gz
vcpkg-53a47bca4f5574bc3c7630d8e07b1fc8f580165f.zip
[expat] Fix a few details with expat. (#13022)
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
Diffstat (limited to 'ports/libkml/fix-expat.patch')
-rw-r--r--ports/libkml/fix-expat.patch20
1 files changed, 0 insertions, 20 deletions
diff --git a/ports/libkml/fix-expat.patch b/ports/libkml/fix-expat.patch
deleted file mode 100644
index e4a09d187..000000000
--- a/ports/libkml/fix-expat.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 9728ead..f9e8051 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -93,8 +93,13 @@ set(MINIZIP_DEPENDS "" CACHE INTERNAL "MINIZIP_DEPENDS")
-
- set(LIBKML_TARGETS)
-
--find_package(EXPAT)
--if(EXPAT_FOUND)
-+find_package(expat CONFIG REQUIRED)
-+if(WIN32 AND NOT MINGW)
-+ set(EXPAT_LIBRARY expat::libexpat)
-+else()
-+ set(EXPAT_LIBRARY expat::expat)
-+endif()
-+if(EXPAT_LIBRARY)
- include_directories(${EXPAT_INCLUDE_DIR})
- else()
- include(External_expat)