diff options
| author | Alexandru Croitor <alexandru.croitor@qt.io> | 2025-02-17 14:59:52 +0100 |
|---|---|---|
| committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2025-02-20 18:00:57 +0100 |
| commit | 4174f388e6804fb138f625aab3eb75b90c2c7bd4 (patch) | |
| tree | 509d7227c5604e66f4a5cc9c1379fd46ab1d4566 /src/gui/opengl/qopengl.cpp | |
| parent | f6a5c7e011d24db22afa5a3bf92749b9bb9e9354 (diff) | |
CMake: Avoid warnings _qt_internal_sbom_replace_qa_placeholders
We should only pass the VERSION option if we have a value to pass.
Fixes warnings like the one below when using CMake 3.31:
CMake Warning (dev) at cmake/QtPublicSbomAttributionHelpers.cmake:511
(cmake_parse_arguments):
The VERSION keyword was followed by an empty string or no value at
all.
Policy CMP0174 is not set, so cmake_parse_arguments() will unset the
arg_VERSION variable rather than setting it to an empty string.
Call Stack (most recent call first):
cmake/QtPublicSbomHelpers.cmake:954
(_qt_internal_sbom_replace_qa_placeholders)
Amends bc3bbb51b7b48d3c4a44a432441938863582242c
Pick-to: 6.8 6.9
Task-number: QTBUG-122899
Change-Id: I671a9153d72b21b6aed2112bea45f577a5cee4eb
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/gui/opengl/qopengl.cpp')
0 files changed, 0 insertions, 0 deletions
