aboutsummaryrefslogtreecommitdiff
path: root/community/vulkan-loader/build
diff options
context:
space:
mode:
Diffstat (limited to 'community/vulkan-loader/build')
-rwxr-xr-xcommunity/vulkan-loader/build12
1 files changed, 12 insertions, 0 deletions
diff --git a/community/vulkan-loader/build b/community/vulkan-loader/build
new file mode 100755
index 00000000..0d9bbdaa
--- /dev/null
+++ b/community/vulkan-loader/build
@@ -0,0 +1,12 @@
+#!/bin/sh -e
+
+export DESTDIR="$1"
+
+cmake -B build \
+ -Wno-dev \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_TESTS=OFF
+
+cmake --build build
+cmake --install build