vcpkg/ports/brigand/portfile.cmake
Billy O'Neal 95db7663b9
[brigand] Fix pkgconfig file and modernize portfile.cmake. (#21009)
* [brigand] Fix pkgconfig file and modernize portfile.cmake.

* Undo patch patch and add version.

* Depend only on boost-fusion and boost-variant, as suggested by PhoebeHui

Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>

* Update version database.

Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>
2021-10-28 12:26:38 -07:00

21 lines
663 B
CMake

vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO edouarda/brigand
REF 1.3.0
SHA512 538d288d84265cc9a4563f1e84d55a174db461ffd1e4f510bfdaef04af9fbf8e7ca79817f9118378bf7d58d578699aae3072bbffa3fd727b2d93ee783337aea6
HEAD_REF master
PATCHES
remove-tests.patch
)
vcpkg_cmake_configure(SOURCE_PATH "${SOURCE_PATH}")
vcpkg_cmake_install()
vcpkg_fixup_pkgconfig()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)