[jaeger-client-cpp] Fix improper direct reference to the "installed" directory which fails when it has been redirected. (#11583)

This commit is contained in:
Billy O'Neal 2020-05-26 20:58:07 -07:00 committed by GitHub
parent 323cd68f5a
commit a5758c97d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 9 deletions

View File

@ -1,5 +1,5 @@
Source: jaeger-client-cpp Source: jaeger-client-cpp
Version: 0.5.1 Version: 0.5.1-1
Build-Depends: nlohmann-json,thrift,yaml-cpp,opentracing Build-Depends: nlohmann-json,thrift,yaml-cpp,opentracing
Homepage: https://github.com/jaegertracing/jaeger-client-cpp Homepage: https://github.com/jaegertracing/jaeger-client-cpp
Description: C++ OpenTracing binding for Jaeger https://jaegertracing.io/ Description: C++ OpenTracing binding for Jaeger https://jaegertracing.io/

View File

@ -17,7 +17,7 @@ set(THRIFT_SOURCE_FILES agent.thrift jaeger.thrift sampling.thrift zipkincore.th
# Generate proxy/stubs for the input files # Generate proxy/stubs for the input files
foreach(THRIFT_SOURCE_FILE IN LISTS THRIFT_SOURCE_FILES) foreach(THRIFT_SOURCE_FILE IN LISTS THRIFT_SOURCE_FILES)
vcpkg_execute_required_process( vcpkg_execute_required_process(
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/installed/${TARGET_TRIPLET}/tools/thrift/thrift --gen cpp:no_skeleton -o "${SOURCE_PATH}/data" ${THRIFT_SOURCE_FILE} COMMAND ${CURRENT_INSTALLED_DIR}/tools/thrift/thrift --gen cpp:no_skeleton -o "${SOURCE_PATH}/data" ${THRIFT_SOURCE_FILE}
WORKING_DIRECTORY ${SOURCE_PATH}/thrift WORKING_DIRECTORY ${SOURCE_PATH}/thrift
LOGNAME jaeger-idl-${TARGET_TRIPLET} LOGNAME jaeger-idl-${TARGET_TRIPLET}
) )