You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Neither find_package() nor FetchContent work out of the box for a standalone c++ cmake app.
find_package
Compile tritonclient manually and set CMAKE_PREFIX_PATH to the install folder. Alternatively install tritonclient globally. In any case, the following minimal cmake fails:
CMake Error at CMakeLists.txt:43 (add_executable):
Target "test" links to target "protobuf::libprotobuf" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:55 (add_executable):
Target "test" links to target "TritonClient::grpcclient" but the target
was not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
What is the recommended way to create a standalone app with tritonclient dependency currently? It seems that for find_package the link targets are broken and for FetchContent there is no support at all because no targets are exported.
The text was updated successfully, but these errors were encountered:
CMake Error at CMakeLists.txt:43 (add_executable):
Target "test" links to target "gRPC::grpc++" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at CMakeLists.txt:43 (add_executable):
Target "test" links to target "gRPC::grpc" but the target was not found.
Perhaps a find_package() call is missing for an IMPORTED target, or an
ALIAS target is missing?
CMake Error at CMakeLists.txt:43 (add_executable):
Target "test" links to target "protobuf::libprotobuf" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
Neither find_package() nor FetchContent work out of the box for a standalone c++ cmake app.
find_package
Compile tritonclient manually and set CMAKE_PREFIX_PATH to the install folder. Alternatively install tritonclient globally. In any case, the following minimal cmake fails:
FetchContent
What is the recommended way to create a standalone app with tritonclient dependency currently? It seems that for find_package the link targets are broken and for FetchContent there is no support at all because no targets are exported.
The text was updated successfully, but these errors were encountered: