From d26c1ba4de820f8c56088d1d156b6780ce30d82d Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Thu, 31 Mar 2022 12:07:01 +0200 Subject: 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 --- config.tests/binary_for_strip/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'config.tests') 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 "###$###" + VERBATIM ) add_dependencies(print_lib_path lib1) -- cgit v1.2.3