summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYiyangWu <xgreenlandforwyy@gmail.com>2021-07-15 22:02:03 +0800
committerNick Sarnie <sarnex@gentoo.org>2021-07-17 14:09:24 -0400
commited46712fd16a9d3634df32395f19324d892e0dfc (patch)
tree12a1dd7f70b7b2a74f7bb8f566cd8fd431330cf9 /dev-util/spirv-tools
parentdev-perl/Net-Twitter: All of the above (diff)
downloadgentoo-ed46712fd16a9d3634df32395f19324d892e0dfc.tar.gz
gentoo-ed46712fd16a9d3634df32395f19324d892e0dfc.tar.bz2
gentoo-ed46712fd16a9d3634df32395f19324d892e0dfc.zip
dev-util/spirv-tools: fix gentoo prefix cmake configure issue
during cmake configuration, SPIRV-Headers_SOURCE_DIR sets to /usr causing cmake cannot find /usr/include/spirv/unified1/spirv.core.grammar.json Closes: https://bugs.gentoo.org/802240 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/21652 Signed-off-by: Nick Sarnie <sarnex@gentoo.org>
Diffstat (limited to 'dev-util/spirv-tools')
-rw-r--r--dev-util/spirv-tools/spirv-tools-2021.1.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev-util/spirv-tools/spirv-tools-2021.1.ebuild b/dev-util/spirv-tools/spirv-tools-2021.1.ebuild
index 9fb9e28bebd0..1d32288308fe 100644
--- a/dev-util/spirv-tools/spirv-tools-2021.1.ebuild
+++ b/dev-util/spirv-tools/spirv-tools-2021.1.ebuild
@@ -34,7 +34,7 @@ BDEPEND="${PYTHON_DEPS}
multilib_src_configure() {
local mycmakeargs=(
- "-DSPIRV-Headers_SOURCE_DIR=/usr/"
+ "-DSPIRV-Headers_SOURCE_DIR=${ESYSROOT}/usr/"
"-DSPIRV_WERROR=OFF"
"-DSPIRV_TOOLS_BUILD_STATIC=OFF"
"-DBUILD_SHARED_LIBS=ON"