vcpkg/ports/libleidenalg/portfile.cmake
Andrew Robbins df1f608341
[new port] Add package libleidenalg (#27845)
* [libleidenalg] add port libleidenalg

* [libleidenalg] fix git sha

* updated to new cmake lib

* updated to fix typo in config.in

* Fix version database.

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2022-12-28 14:13:38 -08:00

20 lines
572 B
CMake

vcpkg_minimum_required(VERSION 2022-10-12) # for ${VERSION}
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO theAeon/libleidenalg
REF "v${VERSION}"
SHA512 8ce68de2d16462dbeb8d6d0bf7740e20d7977da6da4dff953e60f9dfc5964149be0fb85026a49d0b41589af4ef3454c64253c6a6f6fdaa84e460b0756896fb42
HEAD_REF master
)
vcpkg_cmake_configure(SOURCE_PATH "${SOURCE_PATH}")
vcpkg_cmake_install()
vcpkg_cmake_config_fixup()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")