[Bug 273915] graphics/openshadinglanguage, graphics/opencolorio, graphics/openimageio error in cmake config file
Date: Mon, 18 Sep 2023 19:00:02 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273915 --- 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=${ZLIB_VERSION}") message(STATUS ":: ZLIB_VERSION_STRING=${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. -- You are receiving this mail because: You are the assignee for the bug.