1
0
Jan Engelhardt 2023-10-27 05:39:09 +00:00 committed by Git OBS Bridge
parent 8f7b55231f
commit d9cb1e4040
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,7 @@
From: Jan Engelhardt <jengelh@inai.de>
Date: 2023-10-27 07:34:46.251955161 +0200
Static libraries are a no-go in our distro.
---
src/layer/CMakeLists.txt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

View File

@ -26,7 +26,11 @@ Group: Development/Libraries/C and C++
URL: https://github.com/KhronosGroup/Vulkan-Utility-Libraries
Source: https://github.com/KhronosGroup/Vulkan-Utility-Libraries/archive/refs/tags/vulkan-sdk-%version.tar.gz
Patch1: shared.diff
%if 0%{?suse_version} && 0%{?suse_version} < 1599
BuildRequires: gcc11-c++
%else
BuildRequires: c++_compiler
%endif
BuildRequires: cmake >= 3.17.2
BuildRequires: pkg-config
BuildRequires: vulkan-headers >= 1.3.268
@ -64,6 +68,10 @@ This package contains the headers and build system integration.
%autosetup -p1 -n Vulkan-Utility-Libraries-vulkan-sdk-%version
%build
%if 0%{?suse_version} && 0%{?suse_version} < 1599
# Need something that knows <filesystem>
export CC=gcc-11 CXX=g++-11
%endif
%cmake
%cmake_build