[atlmfc] Add dummy port to detect atl presence in VS

This commit is contained in:
Robert Schumacher 2017-04-23 08:56:36 -07:00
parent 6242e8f7bd
commit 17328c1349
3 changed files with 14 additions and 1 deletions

3
ports/atlmfc/CONTROL Normal file
View File

@ -0,0 +1,3 @@
Source: atlmfc
Version: 0
Description: a stub package that ensures VS has ATL/MFC installed.

View File

@ -0,0 +1,10 @@
find_path(AFXRES_H
NAMES afxres.h
PATHS $ENV{INCLUDE}
)
if(NOT AFXRES_H)
message(FATAL_ERROR "Unable to locate 'afxres.h'. Ensure you have installed the ATL/MFC component of Visual Studio.")
endif()
SET(VCPKG_POLICY_EMPTY_PACKAGE enabled)

View File

@ -1,4 +1,4 @@
Source: xalan-c
Version: 1.11-1
Description: Xalan is an XSLT processor for transforming XML documents into HTML, text, or other XML document types
Build-Depends: xerces-c
Build-Depends: xerces-c, atlmfc