mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-24 22:47:50 +08:00
501df2f7e0
* [opencensus-cpp] Update to 2021-08-26 Signed-off-by: Daniel Lundborg <daniel.lundborg@sandvik.com> * Update ports/opencensus-cpp/vcpkg.json Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com> * [opencensus-cpp] use baseline port-version 0 Signed-off-by: Daniel Lundborg <daniel.lundborg@sandvik.com> * [opencensus-cpp] replace deprecated vcpkg functions Signed-off-by: Daniel Lundborg <daniel.lundborg@sandvik.com> Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
27 lines
747 B
CMake
27 lines
747 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO census-instrumentation/opencensus-cpp
|
|
REF 62d8281899a1cfd1084793f64295329a6b5d22b3 # 2021-08-26
|
|
SHA512 35df40d7e5ce933384fe6ba4ac2d704e0801ac47765fca97ea3f8d787886abe5c588855c3aac5745f047c1c8f2047e1f69b62340dd702042a61c3dc430ca36b4
|
|
HEAD_REF master
|
|
PATCHES fix-install.patch
|
|
)
|
|
|
|
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
|
FEATURES
|
|
test BUILD_TESTING
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
OPTIONS ${FEATURE_OPTIONS}
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
|
|
|
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|