aboutsummaryrefslogtreecommitdiff
path: root/ports/lzo/always_install_pc.patch
diff options
context:
space:
mode:
authorAlexander Neumann <30894796+Neumann-A@users.noreply.github.com>2021-01-22 23:11:20 +0100
committerGitHub <noreply@github.com>2021-01-22 14:11:20 -0800
commit57465e9bfc916132ca4cd03adb978d62b445238b (patch)
treea814ac782107071e8fe60de2138cccf1aa377bc6 /ports/lzo/always_install_pc.patch
parenta66c5ec3859cf2f619fd41fb42389859f7edc848 (diff)
downloadvcpkg-57465e9bfc916132ca4cd03adb978d62b445238b.tar.gz
vcpkg-57465e9bfc916132ca4cd03adb978d62b445238b.zip
[lzo] Install pc file on windows (#15782)
* [lzo] Install pc file on windows * add version info * [lzo] Install pc file on windows * add version info
Diffstat (limited to 'ports/lzo/always_install_pc.patch')
-rw-r--r--ports/lzo/always_install_pc.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/ports/lzo/always_install_pc.patch b/ports/lzo/always_install_pc.patch
new file mode 100644
index 000000000..6750eb681
--- /dev/null
+++ b/ports/lzo/always_install_pc.patch
@@ -0,0 +1,13 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 98c0a1ad0..85690209c 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -290,7 +290,7 @@ if(1)
+ install(TARGETS ${f} DESTINATION "${CMAKE_INSTALL_FULL_LIBEXECDIR}/lzo/examples")
+ endif()
+
+-if(PKG_CONFIG_FOUND)
++if(1)
+ configure_file(lzo2.pc.cmakein lzo2.pc @ONLY)
+ #if(EXISTS "${CMAKE_INSTALL_FULL_LIBDIR}/pkgconfig")
+ install(FILES "${CMAKE_CURRENT_BINARY_DIR}/lzo2.pc" DESTINATION "${CMAKE_INSTALL_FULL_LIBDIR}/pkgconfig")