mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 08:39:01 +08:00
[atlmfc] Add dummy port to detect atl presence in VS
This commit is contained in:
parent
6242e8f7bd
commit
17328c1349
3
ports/atlmfc/CONTROL
Normal file
3
ports/atlmfc/CONTROL
Normal file
@ -0,0 +1,3 @@
|
||||
Source: atlmfc
|
||||
Version: 0
|
||||
Description: a stub package that ensures VS has ATL/MFC installed.
|
10
ports/atlmfc/portfile.cmake
Normal file
10
ports/atlmfc/portfile.cmake
Normal 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)
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user