CMake search for QT6 messes with finding Vulkan::Headers #94
Labels
No Label
CI
Low Priority
Needs Approvals
Needs Rebase
android
bug
duplicate
enhancement
help wanted
invalid
question
translations
wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: suyu/suyu#94
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Is there an existing issue for this?
Affected Commit or Release
ba3539c517
Description of Issue
If I run CMake like this:
configuration fails with this error:
Turns out QT6 finds my system installed Vulkan headers and sets the CMake target "Vulkan::Headers" ahead of
externals/Vulkan-Headers/CMakeLists.txt
.I can't work around it by setting
-DSUYU_USE_EXTERNAL_VULKAN_HEADERS=off
, because my system installed Vulkan headers are for a version older than required by suyu.I have opened PR #45 fixing this by moving the search for externals to before the search for QT, but this breaks something else, which breaks CI.
Not sure what is the best approach to fix this.
Expected Behavior
Configuration should work using the external Vulkan headers.
Reproduction Steps
Run
with Qt6 and Vulkan headers installed system wide.
Log File
Attached.
System Configuration
CPU: AMD Ryzen 5 3600 6-Core Processor
GPU/Driver: AMD Radeon RX Vega (RADV VEGA10)
RAM: 16 GB
OS: Ubuntu 23.10
!45 has been merged. This has not been tested on Windows nor MacOS so feel free to comment if you (the one reading this) have this issue.