David Li created ARROW-15078:
--------------------------------

             Summary: [C++] Silence CMake error "includes non-existent path" 
with bundled OpenTelemetry
                 Key: ARROW-15078
                 URL: https://issues.apache.org/jira/browse/ARROW-15078
             Project: Apache Arrow
          Issue Type: Bug
          Components: C++
            Reporter: David Li


We get errors like
{noformat}
CMake Error in src/arrow/CMakeLists.txt:
  Imported target "opentelemetry-cpp::trace" includes non-existent path

    "<path>/build/opentelemetry_ep-install/include"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

  * The path was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.
{noformat}
We need to create the include directory like other bundled builds do, e.g. see 
[https://github.com/apache/arrow/blob/dee4ba31773e3ba854e91f8b5df1423a0c88f352/cpp/cmake_modules/ThirdpartyToolchain.cmake#L3338-L3339]



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to