aboutsummaryrefslogtreecommitdiff
path: root/ports/cpp-taskflow/portfile.cmake
diff options
context:
space:
mode:
authormfornace <mfornace@users.noreply.github.com>2020-09-11 12:12:04 -0700
committerGitHub <noreply@github.com>2020-09-11 12:12:04 -0700
commit946fa300e7529c9739e9edbd19f82e8a8975d5bf (patch)
treedac8f432a00729448b4bd074c5bd7e314f9e6e6f /ports/cpp-taskflow/portfile.cmake
parent59115f6e3a8efe55f24ec224fd61abdfb8bfc604 (diff)
downloadvcpkg-946fa300e7529c9739e9edbd19f82e8a8975d5bf.tar.gz
vcpkg-946fa300e7529c9739e9edbd19f82e8a8975d5bf.zip
[taskflow] Update cpp-taskflow 2.2.0 to taskflow 2.6.0 (#13140)
* Update to 2.5.0 * Disable unit test building; 2.5.0 uses BUILD_TESTING flag * Attempt to add /bigobj since I'm not sure how to disable building examples target * Fix build error when building x64 targets * Add more to the patch, remove sections with add_executable from CMakeLists.txt * Guard with BUILD_TEST, put compile option in * Disable CUDA * Change name of package to taskflow * Add patch so it's back to Cpp-Taskflow::Cpp-Taskflow... * Update CONTROL * Move - down to Port-Version. * Add taskflow 2.6.0 * Update cpp-taskflow to 2.4.0 and disable test building * Change 'cpp-taskflow' to merely depend on 'taskflow'. * Remove osx skip. * Fix up portfile and remove patch file since not needed for header-only * Case fix for Linux Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com> Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Diffstat (limited to 'ports/cpp-taskflow/portfile.cmake')
-rw-r--r--ports/cpp-taskflow/portfile.cmake30
1 files changed, 2 insertions, 28 deletions
diff --git a/ports/cpp-taskflow/portfile.cmake b/ports/cpp-taskflow/portfile.cmake
index 735a08d47..0988d57b2 100644
--- a/ports/cpp-taskflow/portfile.cmake
+++ b/ports/cpp-taskflow/portfile.cmake
@@ -1,28 +1,2 @@
-# header-only library
-vcpkg_from_github(
- OUT_SOURCE_PATH SOURCE_PATH
- REPO taskflow/taskflow
- REF v2.5.0
- SHA512 49f38a14a207db085a2e3581b3698cdb3be4fa65c11194db454bd2fb65da2d744347c6a10a7a903b04cc2dd5cac65ef389d400c66d2a23521c3bbe2283357890
- HEAD_REF master
- PATCHES fix-compiler-error.patch
-)
-
-vcpkg_configure_cmake(
- SOURCE_PATH ${SOURCE_PATH}
- PREFER_NINJA
- OPTIONS
- -DTF_BUILD_EXAMPLES=OFF
- -DBUILD_TESTING=OFF
- -DTF_BUILD_BENCHMARKS=OFF
- -DCMAKE_CUDA_COMPILER=OFF
-)
-
-vcpkg_install_cmake()
-
-vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake)
-
-file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug ${CURRENT_PACKAGES_DIR}/lib)
-
-# Handle copyright
-file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
+message(WARNING "The port 'cpp-taskflow' has been replaced with 'taskflow'.")
+SET(VCPKG_POLICY_EMPTY_PACKAGE enabled)