CMake: Fix showing exit code when SBOM NTIA verification fails

The code was missing an escaped dollar sign.

Pick-to: 6.8
Task-number: QTBUG-122899
Change-Id: I51bff0a128546085e9418682b540d92eacfdbbe4
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
(cherry picked from commit 3db537ee8e86fc355234794cecfba9627ea580ae)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Alexandru Croitor 2025-05-12 12:25:43 +02:00 committed by Qt Cherry-pick Bot
parent d711d9bc60
commit c7c98574d8

View File

@ -612,7 +612,7 @@ function(_qt_internal_sbom_verify_ntia_compliant)
RESULT_VARIABLE res
)
if(NOT res EQUAL 0)
message(FATAL_ERROR \"SBOM NTIA verification failed: \{res}\")
message(FATAL_ERROR \"SBOM NTIA verification failed: \${res}\")
endif()
")