vcpkg/ports/cppwinrt/portfile.cmake

10 lines
260 B
CMake
Raw Normal View History

find_path(CPPWINRT_BASE_H
NAMES winrt/base.h
PATHS $ENV{INCLUDE}
)
2016-10-13 22:23:31 +08:00
if(NOT CPPWINRT_BASE_H)
message(FATAL_ERROR "Unable to locate cppwinrt. Please install Windows SDK version 10.0.17134.0 or newer.")
endif()
2016-10-13 22:23:31 +08:00
SET(VCPKG_POLICY_EMPTY_PACKAGE enabled)