[PR #2311] Build the title HUD test only with Vulkan headers #2314

Open
opened 2026-11-26 21:20:47 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/2311
Author: @ZroIsHere
Created: 11/26/2026
Status: 🔄 Open

Base: main ← Head: fix/cmake-title-hud-vulkan-optional


📝 Commits (1)

  • 24abeaa Build the title HUD test only with Vulkan headers

📊 Changes

1 file changed (+12 additions, -9 deletions)

View changed files

📝 runtime/CMakeLists.txt (+12 -9)

📄 Description

title_hud_test includes Vulkan memory-budget types, but CMake declared it before creating Vulkan::Headers and linked it unconditionally. On Windows without Vulkan headers, configuration warned that Vulkan components would be omitted and then failed because the target did not exist.

Move the HUD test declaration under the existing if(TARGET Vulkan::Headers) guard. The standalone runtime can now configure and build without Vulkan headers; the HUD test remains available when those headers are installed or fetched.

Validation: CMake configuration and the gta6rt RelWithDebInfo build passed on Windows/MSVC without Vulkan headers. No tests were run.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/2311 **Author:** [@ZroIsHere](https://github.com/ZroIsHere) **Created:** 11/26/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `fix/cmake-title-hud-vulkan-optional` --- ### 📝 Commits (1) - [`24abeaa`](https://github.com/ubiquitarianism/leonida/commit/24abeaa11687bd89762190e2f0e7ba6e3d266bd0) Build the title HUD test only with Vulkan headers ### 📊 Changes **1 file changed** (+12 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `runtime/CMakeLists.txt` (+12 -9) </details> ### 📄 Description `title_hud_test` includes Vulkan memory-budget types, but CMake declared it before creating `Vulkan::Headers` and linked it unconditionally. On Windows without Vulkan headers, configuration warned that Vulkan components would be omitted and then failed because the target did not exist. Move the HUD test declaration under the existing `if(TARGET Vulkan::Headers)` guard. The standalone runtime can now configure and build without Vulkan headers; the HUD test remains available when those headers are installed or fetched. Validation: CMake configuration and the `gta6rt` RelWithDebInfo build passed on Windows/MSVC without Vulkan headers. No tests were run. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
starred/leonida#2314
No description provided.