mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user