git: 8de81f83be09 - main - graphics/glslang: track static library dependency after cbf133ac4b4a
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 23 Dec 2024 23:04:47 UTC
The branch main has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=8de81f83be09343d77ac5ee84ab8641cd72a244d
commit 8de81f83be09343d77ac5ee84ab8641cd72a244d
Author: Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-12-23 21:05:37 +0000
Commit: Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-12-23 23:03:09 +0000
graphics/glslang: track static library dependency after cbf133ac4b4a
$ cat CMakeLists.txt
cmake_minimum_required(VERSION 3.10)
project(foo)
find_package(glslang REQUIRED)
$ cmake .
[...]
CMake Error at /usr/local/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76 (find_package):
By not providing "FindSPIRV-Tools-opt.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"SPIRV-Tools-opt", but CMake did not find one.
Could not find a package configuration file provided by "SPIRV-Tools-opt"
with any of the following names:
SPIRV-Tools-optConfig.cmake
spirv-tools-opt-config.cmake
Add the installation prefix of "SPIRV-Tools-opt" to CMAKE_PREFIX_PATH or
set "SPIRV-Tools-opt_DIR" to a directory containing one of the above files.
If "SPIRV-Tools-opt" provides a separate development package or SDK, be
sure it has been installed.
Call Stack (most recent call first):
/usr/local/lib/cmake/glslang/glslang-config.cmake:28 (find_dependency)
CMakeLists.txt:3 (find_package)
https://github.com/KhronosGroup/glslang/commit/82e0d00b32d2
PR: 283489
Reported by: Stefan Schlosser
---
graphics/glslang/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/graphics/glslang/Makefile b/graphics/glslang/Makefile
index 114565bc752f..43d8aa6a5496 100644
--- a/graphics/glslang/Makefile
+++ b/graphics/glslang/Makefile
@@ -1,6 +1,6 @@
PORTNAME= glslang
DISTVERSION= 15.1.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= graphics
MAINTAINER= jbeich@FreeBSD.org
@@ -12,6 +12,7 @@ LICENSE_COMB= multi
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BUILD_DEPENDS= spirv-tools>=2024.4.r2:graphics/spirv-tools
+RUN_DEPENDS= spirv-tools>0:graphics/spirv-tools
TEST_DEPENDS= bash:shells/bash \
gmake:devel/gmake