aboutsummaryrefslogtreecommitdiff
path: root/ports/dmlc
diff options
context:
space:
mode:
authorJack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>2020-05-20 05:47:19 +0800
committerGitHub <noreply@github.com>2020-05-19 14:47:19 -0700
commitf23ebed76f0a6b13e2fe66f7a31ee744708d95b8 (patch)
tree7fb99351a9c54cef8027ab721c16c9998be21cca /ports/dmlc
parent9e03a3ac59797fcee9e0670d5e002b3a2a78ac44 (diff)
downloadvcpkg-f23ebed76f0a6b13e2fe66f7a31ee744708d95b8.tar.gz
vcpkg-f23ebed76f0a6b13e2fe66f7a31ee744708d95b8.zip
[cmake] Update to 3.17.2 (#10767)
* [cmake] Update to 3.17.1 * update cmake directory name * [cpuid] Fix install headers. * [stormlib] Fix install headers * [murmurhash] Fix install headers * [metrohash] Fix install headers * update baseline * update baseline * [otl] update hash * update baseline * [gts] Do not use ninja to avoid empty implib issue * update baseline * [dmlc] Re-trigger ci test * [replxx] Re-trigger ci test * update baseline * [osg] Re-trigger ci test * [replxx] Fix build failure * Set cmake min version to 3.17.1 * update baseline * [libnice] Re-trigger ci test * [mlpack] Re-trigger ci test * update to 3.17.2 * update cmake hash * update baseline * update baseline * update baseline * update baseline * Update scripts/ci.baseline.txt Co-authored-by: Billy O'Neal <billy.oneal@gmail.com> * update baseline * update baseline * [magnum] Set magnum:arm64-windows to skip in baseline * [nanogui] Set nanogui:arm64-windows to fail in baseline * [nettle] Set nettle:x64-windows to fail, waiting for fix this issue in another PR * re-trigger CI test * update baseline * Install unixODBC in Linux * [nanodbc] Re-trigger CI test * update baseline * Remove space * update baseline
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