dev-util/vulkan-headers: no-op test change

Wire up VULKAN_HEADERS_ENABLE_TESTS, though it doesn't make an actual
difference here because nothing gets built in src_compile anyway, but
let's have it here to silence a QA check I have locally and also in case
it does something in future.

(vulkan-headers does have a tiny testsuite, just VULKAN_HEADERS_ENABLE_TESTS
isn't needed as-is to make it run.)

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2025-06-20 10:20:39 +01:00
parent a60156345e
commit f1115c5178
2 changed files with 7 additions and 1 deletions

View File

@@ -20,10 +20,13 @@ HOMEPAGE="https://github.com/KhronosGroup/Vulkan-Headers"
LICENSE="Apache-2.0"
SLOT="0"
IUSE="test"
RESTRICT="!test? ( test )"
src_configure() {
local mycmakeargs=(
-DVULKAN_HEADERS_ENABLE_MODULE=OFF
-DVULKAN_HEADERS_ENABLE_TESTS=$(usex test)
)
cmake_src_configure

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -20,10 +20,13 @@ HOMEPAGE="https://github.com/KhronosGroup/Vulkan-Headers"
LICENSE="Apache-2.0"
SLOT="0"
IUSE="test"
RESTRICT="!test? ( test )"
src_configure() {
local mycmakeargs=(
-DVULKAN_HEADERS_ENABLE_MODULE=OFF
-DVULKAN_HEADERS_ENABLE_TESTS=$(usex test)
)
cmake_src_configure