[packages/Vulkan-Tools] - use explicit macros in cmake invocation

baggins baggins at pld-linux.org
Wed Oct 8 09:34:31 CEST 2025


commit f77769c4ce4e9b72fdca560e39b2174156fea355
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Wed Oct 8 11:34:02 2025 +0200

    - use explicit macros in cmake invocation

 Vulkan-Tools.spec | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/Vulkan-Tools.spec b/Vulkan-Tools.spec
index 5e12131..c951c73 100644
--- a/Vulkan-Tools.spec
+++ b/Vulkan-Tools.spec
@@ -61,10 +61,10 @@ Atrapa sterownika Vulkan.
 
 %build
 %cmake -B build \
-	%{?with_directfb:-DBUILD_WSI_DIRECTFB_SUPPORT=ON} \
-	%{!?with_wayland:-DBUILD_WSI_WAYLAND_SUPPORT=OFF} \
-	%{!?with_x11:-DBUILD_WSI_XCB_SUPPORT=OFF} \
-	%{!?with_x11:-DBUILD_WSI_XLIB_SUPPORT=OFF} \
+	%{cmake_on_off directfb BUILD_WSI_DIRECTFB_SUPPORT} \
+	%{cmake_on_off wayland BUILD_WSI_WAYLAND_SUPPORT} \
+	%{cmake_on_off x11 BUILD_WSI_XCB_SUPPORT} \
+	%{cmake_on_off x11 BUILD_WSI_XLIB_SUPPORT} \
 	-DGLSLANG_INSTALL_DIR=%{_prefix} \
 	-DINSTALL_ICD=ON
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/Vulkan-Tools.git/commitdiff/f77769c4ce4e9b72fdca560e39b2174156fea355



More information about the pld-cvs-commit mailing list