microsoft / do-client

Delivery Optimization client components
MIT License
24 stars 20 forks source link

Missing cmake-file deliveryoptimization_sdk-targets.cmake? #111

Closed xaelsouth closed 2 years ago

xaelsouth commented 2 years ago

From deliveryoptimization_sdk-config.cmake the last line as follows

include("${CMAKE_CURRENT_LIST_DIR}/deliveryoptimization_sdk-targets.cmake")

I can't find deliveryoptimization_sdk-targets.cmake somewhere in the project, not commited?

shishirb-MSFT commented 2 years ago

@xaelsouth That file gets generated as part of the cmake install step. When you execute cmake install or install the libdeliveryoptimization-dev DEB package, the file will be placed into /usr/lib/cmake/deliveryoptimization_sdk/. See https://github.com/microsoft/do-client/blob/develop/sdk-cpp/CMakeLists.txt, line 171.

xaelsouth commented 2 years ago

Ok, thanks for clarification!

I was building SDK part of DO as a buildroot package und have not set DO_INCLUDE_AGENT and DO_INCLUDE_PLUGINS to OFF. That gave me the deliveryoptionazion client only.