mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-25 10:37:50 +08:00
b0d03b1a34
# Changes - Add `vcpkg_cmake_config_fixup()`. Without it, we had problems like ```shell CMake Warning at $VCPKG_ROOT/scripts/buildsystems/vcpkg.cmake:639 (_add_library): Cannot generate a safe dependent library path for target CoveoTarget because there is a cycle in the constraint graph: dir 0 is [/builds/build/vcpkg_installed/arm64-linux-dynamic/debug/lib] dir 1 must precede it due to runtime library [libhareflow.so] dir 1 is [/builds/build/vcpkg_installed/arm64-linux-dynamic/lib] dir 0 must precede it due to runtime library [libaws-cpp-sdk-sqs.so] Some of these libraries may not be found correctly. Call Stack (most recent call first): CoveoTarget/CMakeLists.txt:1 (add_library) ``` because `IMPORTED_LOCATION_DEBUG` was missing. - Minor update to the port from version 0.1.0 to 0.1.1. This integrates a pull request by @BillyONeal (thanks!) where some missing headers were added. Following this pull request, we don't need the patch anymore. c.c. @yrivardmulrooney, @dalloriam: this might interest you. # Housekeeping - [x] Changes comply with the [maintainer guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md). - [x] SHA512s are updated for each updated download. - [x] The "supports" clause reflects platforms that may be fixed by this new version. - [x] Any fixed [CI baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt) entries are removed from that file. - [x] Any patches that are no longer applied are deleted from the port's directory. - [x] The version database is fixed by rerunning `./vcpkg x-add-version --all` and committing the result. - [x] Only one version is added to each modified port's versions file. --------- Co-authored-by: Lily Wang <94091114+LilyWangLL@users.noreply.github.com>
26 lines
726 B
CMake
26 lines
726 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO coveooss/hareflow
|
|
REF "v${VERSION}"
|
|
SHA512 96138675a37e381db97d963b339ab2d6472573d0e1d215bb485141d1a92be0c9658db1abb849d6e7849b396e9a877e5f0ed2ce332b68b44b7dda21536733158a
|
|
HEAD_REF main
|
|
)
|
|
|
|
if(VCPKG_TARGET_IS_OSX OR VCPKG_TARGET_IS_IOS)
|
|
set(rpath "@loader_path")
|
|
else()
|
|
set(rpath "\$ORIGIN")
|
|
endif()
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
OPTIONS
|
|
"-DCMAKE_INSTALL_RPATH=${rpath}"
|
|
)
|
|
vcpkg_cmake_install()
|
|
|
|
vcpkg_cmake_config_fixup()
|
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" "${CURRENT_PACKAGES_DIR}/debug/share")
|