Martin Tzvetanov Grigorov created AVRO-3932:
-----------------------------------------------
Summary: [C]: fix variable reference in CMakeLists.txt
Key: AVRO-3932
URL: https://issues.apache.org/jira/browse/AVRO-3932
Project: Apache Avro
Issue Type: Bug
Components: c
Affects Versions: 1.11.3
Reporter: Martin Tzvetanov Grigorov
Assignee: Martin Tzvetanov Grigorov
https://github.com/apache/avro/pull/2713
{code}
@ZLIB_PKG@ can't be replaced as expected since we upgrade cmake from 2.4 to 3.1
in this commit: 664c2fc.
You can find more details here:
https://cmake.org/cmake/help/latest/policy/CMP0053.html.
So we should change @ZLIB_PKG@ to ${ZLIB_PKG} or add cmake_policy(SET CMP0053
OLD)
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)