From 7135c5fc83ee32b3389be94148ef30273736fd2a Mon Sep 17 00:00:00 2001 From: Robert Schumacher Date: Fri, 7 Apr 2017 11:46:59 -0700 Subject: [azure-storage-cpp] Add check for ATL. --- ports/azure-storage-cpp/portfile.cmake | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ports/azure-storage-cpp/portfile.cmake b/ports/azure-storage-cpp/portfile.cmake index 06df886ac..6afc59b29 100644 --- a/ports/azure-storage-cpp/portfile.cmake +++ b/ports/azure-storage-cpp/portfile.cmake @@ -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 -- cgit v1.2.3