aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/atl
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/atl')
-rw-r--r--vcpkg/ports/atl/portfile.cmake10
-rw-r--r--vcpkg/ports/atl/vcpkg.json6
2 files changed, 16 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)
diff --git a/vcpkg/ports/atl/vcpkg.json b/vcpkg/ports/atl/vcpkg.json
new file mode 100644
index 0000000..cd2350e
--- /dev/null
+++ b/vcpkg/ports/atl/vcpkg.json
@@ -0,0 +1,6 @@
+{
+ "name": "atl",
+ "version": "0",
+ "description": "A stub package that ensures Visual Studio has Active Template Library (ATL) installed.",
+ "supports": "windows"
+}