Use find_program for gdbus-codegen

This commit is contained in:
Patrick Nicolas
2024-11-03 10:25:14 +01:00
parent a708327db6
commit 8217c9d192
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -80,6 +80,7 @@ elseif(WIVRN_USE_SYSTEM_BOOST STREQUAL "ON")
endif()
if (WIVRN_BUILD_SERVER)
find_program(GDBUS_CODEGEN gdbus-codegen REQUIRED)
if (Vulkan_VERSION VERSION_LESS "1.3.261")
message(FATAL_ERROR "Vulkan version must be at least 1.3.261, found ${Vulkan_VERSION}")
endif()