aboutsummaryrefslogtreecommitdiff
path: root/ports/dmlc
diff options
context:
space:
mode:
Diffstat (limited to 'ports/dmlc')
-rw-r--r--ports/dmlc/CONTROL2
-rw-r--r--ports/dmlc/portfile.cmake9
2 files changed, 3 insertions, 8 deletions
diff --git a/ports/dmlc/CONTROL b/ports/dmlc/CONTROL
index 673862144..9a0c2c370 100644
--- a/ports/dmlc/CONTROL
+++ b/ports/dmlc/CONTROL
@@ -1,5 +1,5 @@
Source: dmlc
-Version: 2019-08-12-1
+Version: 2019-08-12-2
Homepage: https://github.com/dmlc/dmlc-core
Description: DMLC-Core is the backbone library to support all DMLC projects, offers the bricks to build efficient and scalable distributed machine learning libraries.
Default-Features: openmp
diff --git a/ports/dmlc/portfile.cmake b/ports/dmlc/portfile.cmake
index 903e89882..93a3a6fae 100644
--- a/ports/dmlc/portfile.cmake
+++ b/ports/dmlc/portfile.cmake
@@ -1,10 +1,6 @@
-include(vcpkg_common_functions)
-
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
-if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
- message(FATAL_ERROR "${PORT} currently doesn't supports UWP.")
-endif()
+vcpkg_fail_port_install(ON_TARGET "UWP")
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
@@ -40,5 +36,4 @@ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/dmlc)
# Handle copyright
-file(COPY ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT})
-file(RENAME ${CURRENT_PACKAGES_DIR}/share/${PORT}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright) \ No newline at end of file
+file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) \ No newline at end of file