[azure-storage-cpp] Add check for ATL.

This commit is contained in:
Robert Schumacher 2017-04-07 11:46:59 -07:00
parent cf93d45879
commit 7135c5fc83

View File

@ -8,6 +8,11 @@ vcpkg_download_distfile(ARCHIVE
)
vcpkg_extract_source_archive(${ARCHIVE})
find_path(ATLMFC_PATH NAMES "atlbase.h")
if(ATLMFC_PATH STREQUAL "ATLMFC_PATH-NOTFOUND")
message(FATAL_ERROR "Could not find ATL. Please ensure you have installed the \"Visual C++ ATL support\" optional feature underneath the Desktop C++ workload.")
endif()
vcpkg_apply_patches(
SOURCE_PATH ${SOURCE_PATH}
PATCHES