vcpkg/ports/gul14/portfile.cmake

25 lines
608 B
CMake
Raw Normal View History

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO gul-cpp/gul14
REF v2.11.0
SHA512 d36bac6573f7eaee068df6b94481efb05270d55d2cf5b22bf57ccaaed650cefece61585fc518769da1308194cfde976854bf5ad89647c5a5808b7f8784c9c7f5
HEAD_REF main
)
vcpkg_configure_meson(
SOURCE_PATH ${SOURCE_PATH}
)
vcpkg_install_meson()
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
endif()
vcpkg_fixup_pkgconfig()
vcpkg_copy_pdbs()
# Install copyright file
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/license.txt")