Skip to content

Commit

Permalink
HPCC-30896 Windows + opentelemetry build issue
Browse files Browse the repository at this point in the history
Signed-off-by: Gordon Smith <[email protected]>
  • Loading branch information
GordonSmith committed Nov 21, 2023
1 parent c34924b commit a6af0a2
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions system/jlib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ endif(NOT TARGET libbase58)

find_package(yaml CONFIG REQUIRED)

#For OpenTel exporter
find_package(Protobuf REQUIRED)
#For http exporter
#find_package(CURL REQUIRED)
find_package(CURL CONFIG REQUIRED)
find_package(gRPC CONFIG REQUIRED)
find_package(nlohmann_json CONFIG REQUIRED)
find_package(opentelemetry-cpp CONFIG REQUIRED)

SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${STRICT_CXX_FLAGS}")
Expand Down Expand Up @@ -239,8 +239,6 @@ if ( ${HAVE_LIBCRYPT} )
target_link_libraries ( jlib crypt)
endif ( ${HAVE_LIBCRYPT} )

find_package(gRPC CONFIG REQUIRED)

target_link_libraries ( jlib

opentelemetry-cpp::ostream_span_exporter
Expand Down

0 comments on commit a6af0a2

Please sign in to comment.