diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2022-03-31 12:07:01 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2022-04-04 15:41:20 +0200 |
commit | d26c1ba4de820f8c56088d1d156b6780ce30d82d (patch) | |
tree | ccbb98f5576c20339c5d06fcf9e566635fb48cf5 /config.tests | |
parent | 7694b01aafd52b7064161b2f8c9a98cd330d24d3 (diff) | |
download | qtbase-d26c1ba4de820f8c56088d1d156b6780ce30d82d.tar.gz |
CMake: Make sure the strip_for_binary project works with Makefiles
The printed lib path did not appear when building the project with the
Unix Makefiles generator.
Make sure the printing does not depend on the shell used by the
generator, by making it VERBATIM.
Amends 39f657032b5e65bfcb93472201f6607c0388ba37
Pick-to: 6.2 6.3
Task-number: QTBUG-101653
Change-Id: I3853bbed3b121ecdc8b2e9da42eb3399f347b8c2
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Diffstat (limited to 'config.tests')
-rw-r--r-- | config.tests/binary_for_strip/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config.tests/binary_for_strip/CMakeLists.txt b/config.tests/binary_for_strip/CMakeLists.txt index 810e303629..4e22af01a2 100644 --- a/config.tests/binary_for_strip/CMakeLists.txt +++ b/config.tests/binary_for_strip/CMakeLists.txt @@ -4,5 +4,6 @@ add_library(lib1 SHARED lib1.cpp) add_custom_target(print_lib_path ALL COMMAND ${CMAKE_COMMAND} -E echo "###$<TARGET_FILE:lib1>###" + VERBATIM ) add_dependencies(print_lib_path lib1) |