qt6-bb10/tests/auto/cmake/test_testlib_no_link_gui
Alexey Edelev 9bf92f9a5a Use add_compile_definitions instead of add_definitions
add_compile_definitions allows having the generator expressions as
the items in the definition list. add_definitions do not support pure
$<...> without the prescending macro name with the assignment.

Pick-to: 6.7 6.5
Change-Id: I1e79f1cf395b62b1e481eb0f3c74f93c61f06381
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
(cherry picked from commit 032fdcbcc00380e9a181f5adf2be767194bb35d3)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-07-05 15:55:31 +00:00
..
CMakeLists.txt Use add_compile_definitions instead of add_definitions 2024-07-05 15:55:31 +00:00