aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/apr-util/apr.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/apr-util/apr.patch')
-rw-r--r--vcpkg/ports/apr-util/apr.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/apr-util/apr.patch b/vcpkg/ports/apr-util/apr.patch
new file mode 100644
index 0000000..581907f
--- /dev/null
+++ b/vcpkg/ports/apr-util/apr.patch
@@ -0,0 +1,13 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 69e45541..19b86129 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -35,7 +35,7 @@ IF(NOT EXISTS "${APR_INCLUDE_DIR}/apr.h")
+ MESSAGE(FATAL_ERROR "APR include directory ${APR_INCLUDE_DIR} is not correct.")
+ ENDIF()
+ FOREACH(onelib ${APR_LIBRARIES})
+- IF(NOT EXISTS ${onelib})
++ IF(${onelib} MATCHES "NOTFOUND")
+ MESSAGE(FATAL_ERROR "APR library ${onelib} was not found.")
+ ENDIF()
+ ENDFOREACH()