diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/grppi/portfile.cmake | |
Diffstat (limited to 'vcpkg/ports/grppi/portfile.cmake')
| -rw-r--r-- | vcpkg/ports/grppi/portfile.cmake | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/vcpkg/ports/grppi/portfile.cmake b/vcpkg/ports/grppi/portfile.cmake new file mode 100644 index 0000000..11543d4 --- /dev/null +++ b/vcpkg/ports/grppi/portfile.cmake @@ -0,0 +1,34 @@ +vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO arcosuc3m/grppi
+ REF v0.4.0
+ SHA512 f8235af6832958de420a68d4465a6c63701ab4385f3430d32f77c1d5e8212001262aad1a8aae04261ba889d592798cd3963843b190d325bddc1fe7dcc4aebd7d
+ HEAD_REF master
+ PATCHES
+ fix-build-error.patch
+ fix-support-other-compilers.patch
+ tbb.patch
+)
+
+file(REMOVE "${SOURCE_PATH}/cmake.modules/FindTBB.cmake")
+
+vcpkg_check_features(
+ OUT_FEATURE_OPTIONS FEATURE_OPTIONS
+ FEATURES
+ tbb GRPPI_TBB_ENABLE
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+ OPTIONS
+ ${FEATURE_OPTIONS}
+ -DGRPPI_DOXY_ENABLE=OFF
+ -DGRPPI_EXAMPLE_APPLICATIONS_ENABLE=OFF
+ -DGRPPI_UNIT_TEST_ENABLE=OFF
+)
+
+vcpkg_cmake_install()
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
+
+file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|