Skip to content

cmake with -DPICOQUIC_FETCH_PTLS=Y seems to fail #2068

@lminiero

Description

@lminiero

When trying to build picoquic and picotls together like this:

cmake -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DPICOQUIC_FETCH_PTLS=Y .

I'm getting a cmake failure when it gets to picotls:

CMake Error in _deps/picotls-src/CMakeLists.txt:
  Target "picotls-core" INTERFACE_LINK_DIRECTORIES property contains path:

    "/home/lminiero/Work/code/quic/others/picoquic/_deps/picotls-src/("

  which is prefixed in the build directory.


CMake Error in _deps/picotls-src/CMakeLists.txt:
  Target "picotls-core" INTERFACE_LINK_DIRECTORIES property contains path:

    "/home/lminiero/Work/code/quic/others/picoquic/_deps/picotls-src/)"

  which is prefixed in the build directory.

I thought this would be fixed after h2o/picotls#587 and #2065 were merged, since they were mentioned in a discussion related to #2049 a couple of days ago, but that didn't seem to happen, at least for me. If I git bisect, that same commit is still listed as the "culprit".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions