vulkan-tools: updated cmake build syntax

This commit is contained in:
Luis
2022-11-18 22:20:02 +00:00
parent 3e73acbed7
commit 8e699fae05
3 changed files with 5 additions and 3 deletions

View File

@@ -1 +1 @@
91a32f35d3ffc438a892f1759659e019 vulkan-tools-1.3.234.tar.gz
8d5a42c2a4c27ad7e8cda370477fa9ae vulkan-tools-1.3.235.tar.gz

View File

@@ -1,4 +1,4 @@
vulkan-tools-1.3.234-1
vulkan-tools-1.3.235-1
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/vkcube

View File

@@ -3,7 +3,7 @@
# depends : glslang wayland-protocols
name=vulkan-tools
version=1.3.234
version=1.3.235
release=1
source="https://github.com/KhronosGroup/Vulkan-Tools/archive/v$version/$name-$version.tar.gz"
@@ -12,6 +12,8 @@ build() {
cmake -B build \
-D CMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_INSTALL_LIBEXECDIR=lib \
-D VulkanHeaders_INCLUDE_DIR=/usr/include/ \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_C_FLAGS_RELEASE="${CFLAGS} -ffat-lto-objects" \