summaryrefslogtreecommitdiffstats
path: root/Tests/CPackNSISGenerator/RunCPackVerifyResult.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/CPackNSISGenerator/RunCPackVerifyResult.cmake')
-rw-r--r--Tests/CPackNSISGenerator/RunCPackVerifyResult.cmake8
1 files changed, 8 insertions, 0 deletions
diff --git a/Tests/CPackNSISGenerator/RunCPackVerifyResult.cmake b/Tests/CPackNSISGenerator/RunCPackVerifyResult.cmake
index bfbcf9c..8bfcf26 100644
--- a/Tests/CPackNSISGenerator/RunCPackVerifyResult.cmake
+++ b/Tests/CPackNSISGenerator/RunCPackVerifyResult.cmake
@@ -52,3 +52,11 @@ if("${output_index}" EQUAL "-1")
else()
message(STATUS "Found DPI-aware")
endif()
+
+file(STRINGS "${project_file}" line REGEX "^BrandingText /TRIMRIGHT \"CMake branding text\"")
+string(FIND "${line}" "TRIMRIGHT" output_index)
+if("${output_index}" EQUAL "-1")
+ message(FATAL_ERROR "BrandingText not found in the project")
+else()
+ message(STATUS "Found BrandingText")
+endif()