2018-05-25 09:25:41 +08:00
|
|
|
# Automatically generated by boost-vcpkg-helpers/generate-ports.ps1 but has edits
|
2017-12-06 05:00:50 +08:00
|
|
|
|
|
|
|
include(vcpkg_common_functions)
|
|
|
|
|
2018-05-25 09:25:41 +08:00
|
|
|
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)
|
2018-05-25 08:45:48 +08:00
|
|
|
else()
|
2017-12-06 05:00:50 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO boostorg/hana
|
2018-08-10 13:56:09 +08:00
|
|
|
REF boost-1.68.0
|
|
|
|
SHA512 93b20dc496ac6fa58ae75d523b8782b7c17398e93286698b48666e59af0c7df7410153dc02a8c4ca940d02ed8b948ea6f47b8f884ae2867e0cc8741e09e643ff
|
2017-12-06 05:00:50 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
2018-01-18 14:08:48 +08:00
|
|
|
include(${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular-headers.cmake)
|
2017-12-06 05:00:50 +08:00
|
|
|
boost_modular_headers(SOURCE_PATH ${SOURCE_PATH})
|
2018-05-25 08:45:48 +08:00
|
|
|
endif()
|