include(vcpkg_common_functions) vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO google/re2 REF def664c3046d6c1f2e643e0d64baf43c432e25c6 SHA512 0a71650948c04ff4514248674fee2d0510a9fff934e14a52c81bba1177b9667af52dd506755a146604dc2691748f826487e46425ee75d5ca97d774ccb2dc828c HEAD_REF master ) vcpkg_configure_cmake( SOURCE_PATH ${SOURCE_PATH} OPTIONS -DRE2_BUILD_TESTING=OFF ) vcpkg_install_cmake() vcpkg_copy_pdbs() # Handle copyright file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/re2 RENAME copyright) file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)