Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Sep 2023 19:00:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 273915] graphics/openshadinglanguage, graphics/opencolorio, graphics/openimageio error in cmake config file
Message-ID:  <bug-273915-7788-xeTsRogcSY@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-273915-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-273915-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273915

--- Comment #3 from Adriaan de Groot <adridg@freebsd.org> ---
I have checked, the problem looks like it is entirely in CMake's
find_package(ZLIB), not opencolorio:

```
cmake_minimum_required(VERSION 3.20 FATAL_ERROR)
project(demo VERSION 1.0 LANGUAGES C)

find_package(ZLIB REQUIRED)

message(STATUS "::")
message(STATUS ":: ZLIB_VERSION=3D${ZLIB_VERSION}")
message(STATUS ":: ZLIB_VERSION_STRING=3D${ZLIB_VERSION_STRING}")
message(STATUS "::")
```

On 13-, with ZLIB 1.2.13, prints something normal, and on 14-, with ZLIB 1.=
3,
adds the #define garbage to the value of variable ZLIB_VERSION.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-273915-7788-xeTsRogcSY>