winft / disman

Qt/C++ display management library
GNU Lesser General Public License v2.1
2 stars 1 forks source link

CMake fails on FreeBSD due to missing find_package #45

Closed romangg closed 7 months ago

romangg commented 2 years ago

In GitLab by @jbeich on Nov 7, 2021, 15:55

Found on Plasma/5.23 branch. Downstream has a fix. I can't test master branch via FDBuild yet due to unrelated build issues.

$ cmake -B /tmp/kwinft_build -G Ninja
[...]
-- Configuring done
CMake Error at CMakeLists.txt:833 (add_library):
  Target "kwin_wayland_lib" links to target "Threads::Threads" 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:680 (add_library):
  Target "kwin_x11_lib" links to target "Threads::Threads" 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:604 (add_library):
  Target "kwin" links to target "Threads::Threads" 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 kcmkwin/kwinoptions/CMakeLists.txt:33 (add_library):
  Target "kcm_kwinoptions" links to target "Threads::Threads" but the target
  was not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?
[...]
romangg commented 2 years ago

In GitLab by @jbeich on Nov 7, 2021, 15:55

Oops, wrong repo. ;)

romangg commented 2 years ago

No problem. Wanna open a new ticket in the other repo?