vcpkg/ports/boost-hana/portfile.cmake
Robert Schumacher eae02c95b3 [boost] Update to 1.68.0
[boost-vcpkg-helpers] Improve include scanner

[boost-vcpkg-helpers] Fix boost/functional/hash -> boost/container_hash dependency

[boost-context] Install replacement boost/context/all.hpp to support FindBoost.cmake

[boost] Improve port dependency qualifiers for UWP

[boost-contract] Mark as known to fail for ARM
2018-08-20 14:26:49 -07:00

21 lines
825 B
CMake

# Automatically generated by boost-vcpkg-helpers/generate-ports.ps1 but has edits
include(vcpkg_common_functions)
if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore" OR NOT VCPKG_CMAKE_SYSTEM_NAME)
message("The current MSVC releases can't compile boost hana yet.")
message("Use a fork from boost 1.67 which has source workarounds instead.")
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
else()
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO boostorg/hana
REF boost-1.68.0
SHA512 93b20dc496ac6fa58ae75d523b8782b7c17398e93286698b48666e59af0c7df7410153dc02a8c4ca940d02ed8b948ea6f47b8f884ae2867e0cc8741e09e643ff
HEAD_REF master
)
include(${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular-headers.cmake)
boost_modular_headers(SOURCE_PATH ${SOURCE_PATH})
endif()