← All tasks
cppOGRECave/ogre #2381Not a task: not reproduced

Rename FeatureSummary.cmake

envgap__OGRECave__ogre-2381

01 / FAILURE SIGNATURE

As reported upstream

When I try to configure ogre, I get the following CMake error:
Not a benchmark task.
  • In a clean container the reported failure did not reproduce, or the known fix did not make the project run.

02 / ENVIRONMENT RECIPE

Base commit
dc1d35b69c446dafa9a5db723df87070fee4931f
Manifest
CMakeLists.txt
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

OGRECave/ogre #2381 · read the original issue
When I try to configure ogre, I get the following CMake error:

```

CMake Error at /usr/lib/cmake/Qt6/3rdparty/kwin/FindXKB.cmake:98 (set_package_properties):

  Unknown CMake command "set_package_properties".

Call Stack (most recent call first):

  /usr/lib64/cmake/Qt6Gui/Qt6GuiDependencies.cmake:43 (find_package)

  /usr/lib64/cmake/Qt6Gui/Qt6GuiConfig.cmake:50 (include)

  /usr/lib64/cmake/Qt6/Qt6Config.cmake:187 (find_package)

  CMake/Dependencies.cmake:287 (find_package)

  CMakeLists.txt:299 (include)

```

The reason is `FeatureSummary` is a CMake's module, and `/usr/lib64/cmake/Qt6Gui/Qt6GuiDependencies.cmake` has a line `include(FeatureSummary)`. Since you have `FeatureSummary.cmake` in your project, it gets loaded instead of `/usr/share/cmake/Modules/FeatureSummary.cmake`. The solution is simple: just rename `FeatureSummary.cmake` in your project.
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]