aboutsummaryrefslogtreecommitdiff
path: root/triplets
diff options
context:
space:
mode:
authorJoakim L. Gilje <jgilje@jgilje.net>2020-11-23 18:43:23 +0100
committerGitHub <noreply@github.com>2020-11-23 09:43:23 -0800
commitd9633d939c665e527f8bda22669f543f03540b17 (patch)
tree0cfe4b406fa116b4d962952f93781a3d65840232 /triplets
parent42456b785a4508386f080ae8fad2642e056b747d (diff)
downloadvcpkg-d9633d939c665e527f8bda22669f543f03540b17.tar.gz
vcpkg-d9633d939c665e527f8bda22669f543f03540b17.zip
[vcpkg] initial openbsd (community) support (#14549)
* initial openbsd support in vcpkg * after clang-format * hardcoded in the preferred compiler for openbsd in bootstrap scipt (thanks @tormfinn) * Fetch a patched pkg-config because openbsd pkg-config lacks {fcfiledir} * fixes from review feedback * corrected hash for pkg-config.openbsd * re-added missing endif() * regenerate docs * Update scripts/cmake/vcpkg_configure_meson.cmake Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
Diffstat (limited to 'triplets')
-rw-r--r--triplets/community/x64-openbsd.cmake8
1 files changed, 8 insertions, 0 deletions
diff --git a/triplets/community/x64-openbsd.cmake b/triplets/community/x64-openbsd.cmake
new file mode 100644
index 000000000..9aa220a74
--- /dev/null
+++ b/triplets/community/x64-openbsd.cmake
@@ -0,0 +1,8 @@
+# Use with
+# VCPKG_FORCE_SYSTEM_BINARIES=1 ./vcpkg install brotli
+
+set(VCPKG_TARGET_ARCHITECTURE x64)
+set(VCPKG_CRT_LINKAGE dynamic)
+set(VCPKG_LIBRARY_LINKAGE static)
+
+set(VCPKG_CMAKE_SYSTEM_NAME OpenBSD)