diff options
| author | Joakim L. Gilje <jgilje@jgilje.net> | 2020-11-23 18:43:23 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-23 09:43:23 -0800 |
| commit | d9633d939c665e527f8bda22669f543f03540b17 (patch) | |
| tree | 0cfe4b406fa116b4d962952f93781a3d65840232 /toolsrc/cmake | |
| parent | 42456b785a4508386f080ae8fad2642e056b747d (diff) | |
| download | vcpkg-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 'toolsrc/cmake')
| -rw-r--r-- | toolsrc/cmake/utilities.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/toolsrc/cmake/utilities.cmake b/toolsrc/cmake/utilities.cmake index 429a86f5f..9523b9d97 100644 --- a/toolsrc/cmake/utilities.cmake +++ b/toolsrc/cmake/utilities.cmake @@ -137,6 +137,9 @@ int main() {} if(CMAKE_CXX_COMPILER_ID MATCHES "AppleClang") # AppleClang never requires (or allows) -lc++fs, even with libc++ version 8.0.0 set(_VCPKG_CXXFS_LIBRARY OFF) + elseif(CMAKE_SYSTEM_NAME STREQUAL "OpenBSD") + # As above, not required on this platform (tested at least on 6.8) + set(_VCPKG_CXXFS_LIBRARY OFF) else() check_cxx_source_compiles([[ #include <ciso646> |
