Skip to content

Can't build from source with CMake 3.10.2 with one cmake call. Depends on FindVulkan updates in CMake 3.21 or installation of Vulkan-Headers #1092

@dneto0

Description

@dneto0

Describe the bug

Can't build from source with CMake 10.0.2

CMakeLists.txt says CMake required version is 10.0.2
But #1061 switched discovery of Vulkan::Headers to use the FindVulkan built into CMake. That was introduced in CMAKE 3.21. https://cmake.org/cmake/help/latest/release/3.21.html#modules
in this commit: Kitware/CMake@668ba68

Environment (please complete the following information):

  • OS: Linux
  • Bitdepth: n/a
  • GPU: n/a
  • Graphics Driver: n/a
  • SDK or header version if building from repo: Vulkan headers v 1.3.237
  • Enabled layers: none

To Reproduce
Steps to reproduce the behavior:
Currently reducing this down, but i found this by trying to roll Amber's dependencies forward.
See google/amber#1005

VK_LOADER_DEBUG output
Attach output when running with the environment variable VK_LOADER_DEBUG=all

Additional context
Found when trying to roll Amber's dependencies forward.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions