aboutsummaryrefslogtreecommitdiff
path: root/ports/ms-angle/portfile.cmake
diff options
context:
space:
mode:
authorLily <47812810+LilyWangL@users.noreply.github.com>2020-06-11 16:36:10 +0800
committerGitHub <noreply@github.com>2020-06-11 01:36:10 -0700
commitefe434b688fdc5035ad0d81bf4e90dad504d04fa (patch)
tree121c7799a607432f96171934c5a1e640d0054d16 /ports/ms-angle/portfile.cmake
parent4050a5b27906753b2a9250396a7e966ea2d7545a (diff)
downloadvcpkg-efe434b688fdc5035ad0d81bf4e90dad504d04fa.tar.gz
vcpkg-efe434b688fdc5035ad0d81bf4e90dad504d04fa.zip
[ms-angle] Set ms-angle to empty package (#11458)
* [ms-angle] Remove invalid port * [ms-angle] Remove invalid port * [ms-angle] Add build depends angle
Diffstat (limited to 'ports/ms-angle/portfile.cmake')
-rw-r--r--ports/ms-angle/portfile.cmake32
1 files changed, 1 insertions, 31 deletions
diff --git a/ports/ms-angle/portfile.cmake b/ports/ms-angle/portfile.cmake
index 0e10fa1cc..0015715fb 100644
--- a/ports/ms-angle/portfile.cmake
+++ b/ports/ms-angle/portfile.cmake
@@ -1,31 +1 @@
-include(vcpkg_common_functions)
-
-if (VCPKG_CMAKE_SYSTEM_NAME STREQUAL "Linux" OR VCPKG_CMAKE_SYSTEM_NAME STREQUAL "Darwin")
- message(FATAL_ERROR "This portfile does not support Linux or OSX")
-endif()
-
-vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY)
-
-vcpkg_from_github(
- OUT_SOURCE_PATH SOURCE_PATH
- REPO microsoft/angle
- REF ms-master
- SHA512 eecdb7012c0630b24fde540fb6a558f4ee5326fc1218773b779953d0fe0ef02da68ceb2577822cfc0374392a88b871201bfe291e3b85c3dd005edc83f84fec1f
- PATCHES
- PATCHES
- 001-fix-uwp.patch
-)
-
-file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
-
-vcpkg_configure_cmake(
- SOURCE_PATH ${SOURCE_PATH}
- PREFER_NINJA
- OPTIONS_DEBUG -DDISABLE_INSTALL_HEADERS=1
-)
-
-vcpkg_install_cmake()
-vcpkg_fixup_cmake_targets()
-vcpkg_copy_pdbs()
-
-file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/ms-angle RENAME copyright)
+set(VCPKG_POLICY_EMPTY_PACKAGE enabled) \ No newline at end of file