tcbrindle / flux

A C++20 library for sequence-orientated programming
https://tristanbrindle.com/flux/
Boost Software License 1.0
472 stars 29 forks source link

Recent Changes Broke CMake #126

Closed codereport closed 12 months ago

codereport commented 12 months ago

I recently pulled the latest flux changes and flux no longer builds. I get the following warning.

CMake Error in build/_deps/flux-src/CMakeLists.txt:
  Target "flux" INTERFACE_SOURCES property contains path:

    "/home/cph/parrot/build/_deps/flux-src/"

  which is prefixed in the build directory.

CMake Error in build/_deps/flux-src/CMakeLists.txt:
  Target "flux" INTERFACE_SOURCES property contains path:

    "/home/cph/parrot/build/_deps/flux-src/"

  which is prefixed in the build directory.Target "flux" INTERFACE_SOURCES
  property contains path:

    "/home/cph/parrot/build/_deps/flux-src/"

  which is prefixed in the source directory.

Maybe I am doing something wrong.

codereport commented 12 months ago

Hmmm, nvm. make clean fixed it.

DNKpp commented 10 months ago

When I do remote compiling on my ubuntu runner, the same error appears. EDIT: Going back the history, it seems that a00f83b052dbb6eda10685e13ba63ed161ad37cf introduces the error for me.