Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • G gtkmm
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 22
    • Issues 22
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOME
  • gtkmm
  • Merge requests
  • !68

meson.build: Fix builds with Vulkan-enabled GTK

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Chun-wei Fan requested to merge fix-vulkan-builds into master May 23, 2022
  • Overview 4
  • Commits 1
  • Pipelines 1
  • Changes 1

Hi,

This attempts to fix builds against GTK builds that have Vulkan enabled, since GTK's headers will pull in the Vulkan SDK headers as a result. This adds an optional dependency that will pull in the include path for Vulkan SDK's headers, so that things will build if GTK is built with Vulkan. This follows the way that GTK uses to find the Vulkan SDK.

For the NMake Makefiles, it already has a simple mechanism that checks for the VULKAN_SDK envvar that is set by the Lunar G Vulkan SDK installer, or can be overridden so that the Vulkan SDK headers could be found. I did not update the autotools items for this one since I am not sure what is the best way for that part.

With blessings, thank you!

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: fix-vulkan-builds