diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2017-04-07 11:46:59 -0700 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2017-04-07 11:46:59 -0700 |
| commit | 7135c5fc83ee32b3389be94148ef30273736fd2a (patch) | |
| tree | 86e37bac3ff643915f7855ab0c71581b5926c44e | |
| parent | cf93d45879a1c19973d60aefe69d7da8fd5f0212 (diff) | |
| download | vcpkg-7135c5fc83ee32b3389be94148ef30273736fd2a.tar.gz vcpkg-7135c5fc83ee32b3389be94148ef30273736fd2a.zip | |
[azure-storage-cpp] Add check for ATL.
| -rw-r--r-- | ports/azure-storage-cpp/portfile.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
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 |
