summaryrefslogtreecommitdiffstats
path: root/config.tests
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2022-03-31 12:07:01 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2022-04-05 13:39:38 +0200
commit871aa22405ebd4893364ed05ee383aa3f0c5fe26 (patch)
tree57a7a62ebe66b708b2f59f7db0e519481a229253 /config.tests
parent142da8fed19efcfddd3f8ac467fd60201defb27f (diff)
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 Task-number: QTBUG-101653 Change-Id: I3853bbed3b121ecdc8b2e9da42eb3399f347b8c2 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> (cherry picked from commit d26c1ba4de820f8c56088d1d156b6780ce30d82d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'config.tests')
-rw-r--r--config.tests/binary_for_strip/CMakeLists.txt1
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)