aboutsummaryrefslogtreecommitdiff
path: root/ports/rabit
diff options
context:
space:
mode:
authorBilly O'Neal <bion@microsoft.com>2020-10-28 14:18:07 -0700
committerGitHub <noreply@github.com>2020-10-28 14:18:07 -0700
commit09a647a5261e981cbbc8219292c838490ed0b06f (patch)
tree9d18df2f364a3d2bbaa156d76f5d265fc442c2f3 /ports/rabit
parentead8d6bad477f0b075f31097673c3e440356cd3b (diff)
downloadvcpkg-09a647a5261e981cbbc8219292c838490ed0b06f.tar.gz
vcpkg-09a647a5261e981cbbc8219292c838490ed0b06f.zip
Delete use of vcpkg_test_cmake and vcpkg_common_functions. (#13065)
Diffstat (limited to 'ports/rabit')
-rw-r--r--ports/rabit/portfile.cmake6
1 files changed, 2 insertions, 4 deletions
diff --git a/ports/rabit/portfile.cmake b/ports/rabit/portfile.cmake
index 80ad0554c..b8846b22e 100644
--- a/ports/rabit/portfile.cmake
+++ b/ports/rabit/portfile.cmake
@@ -1,5 +1,3 @@
-include(vcpkg_common_functions)
-
if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
message(FATAL_ERROR "${PORT} does not currently support UWP.")
endif()
@@ -20,7 +18,7 @@ vcpkg_configure_cmake(
PREFER_NINJA
OPTIONS
-DRABIT_BUILD_TESTS=OFF
- -DRABIT_BUILD_MPI=OFF
+ -DRABIT_BUILD_MPI=OFF
)
vcpkg_install_cmake()
@@ -33,4 +31,4 @@ vcpkg_copy_pdbs()
# 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)
+file(RENAME ${CURRENT_PACKAGES_DIR}/share/${PORT}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright)