aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/epoll-shim/000-install-pkg-config-into-standard-location.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/epoll-shim/000-install-pkg-config-into-standard-location.patch')
-rw-r--r--vcpkg/ports/epoll-shim/000-install-pkg-config-into-standard-location.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/epoll-shim/000-install-pkg-config-into-standard-location.patch b/vcpkg/ports/epoll-shim/000-install-pkg-config-into-standard-location.patch
new file mode 100644
index 0000000..52a1213
--- /dev/null
+++ b/vcpkg/ports/epoll-shim/000-install-pkg-config-into-standard-location.patch
@@ -0,0 +1,13 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 744c9e8..02ef4aa 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -62,7 +62,7 @@ add_library(${_namespace}::epoll-shim-interpose ALIAS epoll-shim-interpose)\n")
+ configure_file("${PROJECT_SOURCE_DIR}/${_pc_filename}.pc.cmakein"
+ "${PROJECT_BINARY_DIR}/${_pc_filename}.pc" @ONLY)
+ install(FILES "${PROJECT_BINARY_DIR}/${_pc_filename}.pc"
+- DESTINATION "${CMAKE_INSTALL_PKGCONFIGDIR}")
++ DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig")
+ endforeach()
+
+ set(CMAKE_INSTALL_INCLUDEDIR "${CMAKE_INSTALL_INCLUDEDIR}/libepoll-shim")