diff options
| author | Phoebe <20694052+PhoebeHui@users.noreply.github.com> | 2020-10-21 05:43:10 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-20 14:43:10 -0700 |
| commit | 973ad930924c6b9c59ca7bcad9666ada2d3b45f8 (patch) | |
| tree | bc061f345849fb42359e03214a8520a2f2dfd0cc | |
| parent | 21bf5e9b6524459719f4f2d9e6a0ed6b62e31ba4 (diff) | |
| download | vcpkg-973ad930924c6b9c59ca7bcad9666ada2d3b45f8.tar.gz vcpkg-973ad930924c6b9c59ca7bcad9666ada2d3b45f8.zip | |
[hpx] Fix cmake config issue (#14112)
| -rw-r--r-- | ports/hpx/CONTROL | 1 | ||||
| -rw-r--r-- | ports/hpx/portfile.cmake | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/ports/hpx/CONTROL b/ports/hpx/CONTROL index 9c39aa2e1..df2660cf2 100644 --- a/ports/hpx/CONTROL +++ b/ports/hpx/CONTROL @@ -1,5 +1,6 @@ Source: hpx
Version: 1.5.1
+Port-Version: 1
Build-Depends: hwloc, boost-accumulators, boost-algorithm, boost-asio, boost-bimap, boost-config, boost-context, boost-dynamic-bitset, boost-exception, boost-filesystem, boost-iostreams, boost-lockfree, boost-program-options, boost-range, boost-spirit, boost-system, boost-throw-exception, boost-variant, boost-winapi
Homepage: https://github.com/STEllAR-GROUP/hpx
Description: The C++ Standards Library for Concurrency and Parallelism
diff --git a/ports/hpx/portfile.cmake b/ports/hpx/portfile.cmake index 9f671b257..f06dcacdb 100644 --- a/ports/hpx/portfile.cmake +++ b/ports/hpx/portfile.cmake @@ -42,6 +42,11 @@ foreach(CMAKE_FILE IN LISTS CMAKE_FILES) endforeach() vcpkg_replace_string( + "${CURRENT_PACKAGES_DIR}/share/${PORT}/HPXConfig.cmake" + "set(HPX_BUILD_TYPE \"Release\")" + "set(HPX_BUILD_TYPE \"\${CMAKE_BUILD_TYPE}\")") + +vcpkg_replace_string( "${CURRENT_PACKAGES_DIR}/share/${PORT}/HPXMacros.cmake" "set(CMAKE_MODULE_PATH \${CMAKE_MODULE_PATH} \"\${CMAKE_CURRENT_LIST_DIR}\")" "list(APPEND CMAKE_MODULE_PATH \"\${CMAKE_CURRENT_LIST_DIR}\")") |
