vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO Azure/azure-sdk-for-cpp REF azure-storage-files-shares_12.7.0 SHA512 2482a7c437bd36e63efc8c77d917a09d73bde2bc12d49afd1e24cf0977656e991c59c15d34b52c1bd19c6988fe7c40c95b5edea8740977ffc676f3dd6758dc5e ) if(EXISTS "${SOURCE_PATH}/sdk/storage/azure-storage-files-shares") file(REMOVE_RECURSE "${SOURCE_PATH}/sdk/storage/_") file(REMOVE_RECURSE "${SOURCE_PATH}/sdk/_") file(REMOVE_RECURSE "${SOURCE_PATH}/_") file(RENAME "${SOURCE_PATH}/sdk/storage/azure-storage-files-shares" "${SOURCE_PATH}/sdk/storage/_") file(RENAME "${SOURCE_PATH}/sdk/storage" "${SOURCE_PATH}/sdk/_") file(RENAME "${SOURCE_PATH}/sdk" "${SOURCE_PATH}/_") endif() vcpkg_cmake_configure( SOURCE_PATH "${SOURCE_PATH}/_/_/_" OPTIONS -DWARNINGS_AS_ERRORS=OFF ) vcpkg_cmake_install() file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") vcpkg_cmake_config_fixup() file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") vcpkg_copy_pdbs()