diff options
author | Alexey Edelev <alexey.edelev@qt.io> | 2020-11-23 17:54:34 +0100 |
---|---|---|
committer | Alexey Edelev <alexey.edelev@qt.io> | 2020-11-24 21:51:29 +0100 |
commit | 2548438e326d20eda2eb4398139164f5400d22ac (patch) | |
tree | ea78369e593a853e77d1132e67da40c59fd2b4fd /tests | |
parent | 824de3850e50904720f959d823fc8d962b639522 (diff) |
CMake: Change generated resources naming
Align generated resources .qrc file naming to qmake naming.
Update tests.
Fixes: QTBUG-88581
Pick-to: 6.0
Change-Id: Id8a2f91f23c257e5b8bd371748c2151ec54a6418
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/cmake/test_add_resources_binary_generated/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/cmake/test_add_resources_binary_generated/CMakeLists.txt b/tests/auto/cmake/test_add_resources_binary_generated/CMakeLists.txt index c7839348a7..a764e68cc7 100644 --- a/tests/auto/cmake/test_add_resources_binary_generated/CMakeLists.txt +++ b/tests/auto/cmake/test_add_resources_binary_generated/CMakeLists.txt @@ -18,15 +18,15 @@ qt6_add_resources(test_add_resources_binary_generated resources2 FILES resource2 target_compile_definitions(test_add_resources_binary_generated PRIVATE - RESOURCE1_FULL_PATH="${CMAKE_CURRENT_BINARY_DIR}/generated_resources1.rcc") + RESOURCE1_FULL_PATH="${CMAKE_CURRENT_BINARY_DIR}/resources1.rcc") target_compile_definitions(test_add_resources_binary_generated PRIVATE RESOURCE2_FULL_PATH="${CMAKE_CURRENT_BINARY_DIR}/resources2_custom.rcc") -if(NOT TARGET binary_resource_generated_resources1) +if(NOT TARGET binary_resource_resources1) message(FATAL_ERROR "Generated resources binary target was not created") endif() -if(NOT TARGET binary_resource_generated_resources2) +if(NOT TARGET binary_resource_resources2) message(FATAL_ERROR "Generated resources binary target was not created") endif() |