aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Talavera-Greenberg <jessetalavera@aol.com>2017-08-21 13:28:25 -0400
committerJesse Talavera-Greenberg <jessetalavera@aol.com>2017-08-21 13:28:25 -0400
commit2083bb689a6fe3fc70065b950bbde1c1b867559e (patch)
tree29a654f46fadd7e6b42d9e30f16bf7cdd7739617
parent91e7d010999afd137c128b61c4df27b39a645d0f (diff)
downloadvcpkg-2083bb689a6fe3fc70065b950bbde1c1b867559e.tar.gz
vcpkg-2083bb689a6fe3fc70065b950bbde1c1b867559e.zip
Generate pkg-config files
-rw-r--r--ports/allegro5/fix-pdb-install.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/ports/allegro5/fix-pdb-install.patch b/ports/allegro5/fix-pdb-install.patch
index ef964b9f3..714c69cf5 100644
--- a/ports/allegro5/fix-pdb-install.patch
+++ b/ports/allegro5/fix-pdb-install.patch
@@ -1,3 +1,24 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 72348fe..c6fbecb 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1010,14 +1010,9 @@ else()
+ set(PKG_CONFIG_FILES allegro ${ADDON_PKG_CONFIG_FILES})
+ endif(WANT_MONOLITH)
+
+-# Install pkg-config files on Unix, and when cross-compiling on Unix.
++# Install pkg-config files
+
+-if(UNIX AND NOT WANT_FRAMEWORKS AND NOT IPHONE)
+- set(INSTALL_PKG_CONFIG_FILES true)
+-endif()
+-if(CMAKE_CROSSCOMPILING AND CMAKE_HOST_UNIX)
+- set(INSTALL_PKG_CONFIG_FILES true)
+-endif()
++set(INSTALL_PKG_CONFIG_FILES true)
+
+ if(INSTALL_PKG_CONFIG_FILES)
+ append_lib_type_suffix(lib_type)
diff --git a/cmake/Common.cmake b/cmake/Common.cmake
index 782196f..de29535 100644
--- a/cmake/Common.cmake