# Header-only library vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO beached/utf_range REF "v${VERSION}" SHA512 67c009f207d7a25918e78072fedcd399367ebe4f5433bbc8203ad37680e8598a54a08a35953a91dfd1b417c448875b39a3975b1edec48018c6fef29cb36a486c HEAD_REF master ) vcpkg_cmake_configure( SOURCE_PATH "${SOURCE_PATH}" OPTIONS -DDAW_USE_PACKAGE_MANAGEMENT=ON ) vcpkg_cmake_install() vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT}) # remove empty lib and debug/lib directories (and duplicate files from debug/include) file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug" "${CURRENT_PACKAGES_DIR}/lib") vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.md")