aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/atl/portfile.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/atl/portfile.cmake')
-rw-r--r--vcpkg/ports/atl/portfile.cmake10
1 files changed, 10 insertions, 0 deletions
diff --git a/vcpkg/ports/atl/portfile.cmake b/vcpkg/ports/atl/portfile.cmake
new file mode 100644
index 0000000..61a207f
--- /dev/null
+++ b/vcpkg/ports/atl/portfile.cmake
@@ -0,0 +1,10 @@
+find_path(ATLBASE_H
+ NAMES atlbase.h
+ PATHS $ENV{INCLUDE}
+)
+
+if(NOT ATLBASE_H)
+ message(FATAL_ERROR "Unable to locate 'atlbase.h'. Ensure you have installed the Active Template Library (ATL) component of Visual Studio.")
+endif()
+
+SET(VCPKG_POLICY_EMPTY_PACKAGE enabled)