summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2019-07-01 12:30:10 (GMT)
committerBrad King <brad.king@kitware.com>2019-07-01 13:18:24 (GMT)
commit1a2d6bdefcd7cb0f3f3a4f5ccd0bee0ddb1e7faa (patch)
tree9894937fca84c1b04bfc7c647b0ac196a61fefef /Tests
parent753373579e3dd8cf19f0fc18f4d9bec43a2d82e8 (diff)
downloadCMake-1a2d6bdefcd7cb0f3f3a4f5ccd0bee0ddb1e7faa.zip
CMake-1a2d6bdefcd7cb0f3f3a4f5ccd0bee0ddb1e7faa.tar.gz
CMake-1a2d6bdefcd7cb0f3f3a4f5ccd0bee0ddb1e7faa.tar.bz2
Tests: Autogen: Use valid rcc compression levels
Avoid the invalid compression level 0 when invoking rcc. It let's rcc fail with an error since Qt 5.13.
Diffstat (limited to 'Tests')
-rw-r--r--Tests/QtAutogen/SameName/CMakeLists.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/Tests/QtAutogen/SameName/CMakeLists.txt b/Tests/QtAutogen/SameName/CMakeLists.txt
index 8d4f71f..0a80d5e 100644
--- a/Tests/QtAutogen/SameName/CMakeLists.txt
+++ b/Tests/QtAutogen/SameName/CMakeLists.txt
@@ -37,7 +37,7 @@ if (QT_TEST_VERSION EQUAL 4)
else()
set(rccCompress "--compress")
endif()
-set_target_properties(sameName PROPERTIES AUTORCC_OPTIONS "${rccCompress};0" )
-set_source_files_properties(aaa/data.qrc PROPERTIES AUTORCC_OPTIONS "${rccCompress};1" )
-set_source_files_properties(bbb/data.qrc PROPERTIES AUTORCC_OPTIONS "${rccCompress};2" )
-set_source_files_properties(ccc/data.qrc PROPERTIES AUTORCC_OPTIONS "${rccCompress};3" )
+set_target_properties(sameName PROPERTIES AUTORCC_OPTIONS "${rccCompress};1" )
+set_source_files_properties(aaa/data.qrc PROPERTIES AUTORCC_OPTIONS "${rccCompress};2" )
+set_source_files_properties(bbb/data.qrc PROPERTIES AUTORCC_OPTIONS "${rccCompress};3" )
+set_source_files_properties(ccc/data.qrc PROPERTIES AUTORCC_OPTIONS "${rccCompress};4" )