aboutsummaryrefslogtreecommitdiff
path: root/ports/boost-exception/portfile.cmake
blob: b30571f54d8f2873e19cd5bd124e1f69e4e4c749 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Automatically generated by boost-vcpkg-helpers/generate-ports.ps1

vcpkg_from_github(
    OUT_SOURCE_PATH SOURCE_PATH
    REPO boostorg/exception
    REF boost-1.74.0
    SHA512 f12824beba6f93e968afd07e61957f06231f91e291ab667c7cbcd942c2320267b051ec20612ce21dd75a17979cad07c45ab85c5d1b562e9a8f00752c951372d7
    HEAD_REF master
)

include(${CURRENT_INSTALLED_DIR}/share/boost-build/boost-modular-build.cmake)
boost_modular_build(SOURCE_PATH ${SOURCE_PATH})
include(${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular-headers.cmake)
boost_modular_headers(SOURCE_PATH ${SOURCE_PATH})

set(VCPKG_LIBRARY_LINKAGE static)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin ${CURRENT_PACKAGES_DIR}/debug/bin)