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