From 4373a5e1a77ad571f7d7df9224c5aee8763f64d9 Mon Sep 17 00:00:00 2001 From: Amir Masoud Abdol Date: Thu, 19 Jan 2023 18:16:37 +0100 Subject: Fix the broken test after the retirement of qt_parse_all_arguments As we are now processing the arguments with cmake_parse_arguments(PARSE_ARGV, we don't need to pass the escape characters anymore. Task-number: QTBUG-99238 Change-Id: I9c91e6d9678a87d7d5da1c36d72803f5e586513d Reviewed-by: Alexey Edelev --- tests/auto/qhelpcontentmodel/CMakeLists.txt | 2 +- tests/auto/qhelpenginecore/CMakeLists.txt | 2 +- tests/auto/qhelpgenerator/CMakeLists.txt | 2 +- tests/auto/qhelpindexmodel/CMakeLists.txt | 2 +- tests/auto/qhelpprojectdata/CMakeLists.txt | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'tests') diff --git a/tests/auto/qhelpcontentmodel/CMakeLists.txt b/tests/auto/qhelpcontentmodel/CMakeLists.txt index b53858536..977920e87 100644 --- a/tests/auto/qhelpcontentmodel/CMakeLists.txt +++ b/tests/auto/qhelpcontentmodel/CMakeLists.txt @@ -12,7 +12,7 @@ qt_internal_add_test(tst_qhelpcontentmodel tst_qhelpcontentmodel.cpp DEFINES QT_USE_USING_NAMESPACE - SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\" + SRCDIR="${CMAKE_CURRENT_SOURCE_DIR}" LIBRARIES Qt::Gui Qt::Help diff --git a/tests/auto/qhelpenginecore/CMakeLists.txt b/tests/auto/qhelpenginecore/CMakeLists.txt index da38caf85..370ecaba5 100644 --- a/tests/auto/qhelpenginecore/CMakeLists.txt +++ b/tests/auto/qhelpenginecore/CMakeLists.txt @@ -12,7 +12,7 @@ qt_internal_add_test(tst_qhelpenginecore tst_qhelpenginecore.cpp DEFINES QT_USE_USING_NAMESPACE - SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\" + SRCDIR="${CMAKE_CURRENT_SOURCE_DIR}" LIBRARIES Qt::Gui Qt::Help diff --git a/tests/auto/qhelpgenerator/CMakeLists.txt b/tests/auto/qhelpgenerator/CMakeLists.txt index a4100cc49..53047fa3a 100644 --- a/tests/auto/qhelpgenerator/CMakeLists.txt +++ b/tests/auto/qhelpgenerator/CMakeLists.txt @@ -15,7 +15,7 @@ qt_internal_add_test(tst_qhelpgenerator tst_qhelpgenerator.cpp DEFINES QT_USE_USING_NAMESPACE - SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\" + SRCDIR="${CMAKE_CURRENT_SOURCE_DIR}" LIBRARIES Qt::Gui Qt::HelpPrivate diff --git a/tests/auto/qhelpindexmodel/CMakeLists.txt b/tests/auto/qhelpindexmodel/CMakeLists.txt index 73f976eeb..291e73b10 100644 --- a/tests/auto/qhelpindexmodel/CMakeLists.txt +++ b/tests/auto/qhelpindexmodel/CMakeLists.txt @@ -12,7 +12,7 @@ qt_internal_add_test(tst_qhelpindexmodel tst_qhelpindexmodel.cpp DEFINES QT_USE_USING_NAMESPACE - SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\" + SRCDIR="${CMAKE_CURRENT_SOURCE_DIR}" LIBRARIES Qt::Gui Qt::Help diff --git a/tests/auto/qhelpprojectdata/CMakeLists.txt b/tests/auto/qhelpprojectdata/CMakeLists.txt index e77357ecb..7544d8800 100644 --- a/tests/auto/qhelpprojectdata/CMakeLists.txt +++ b/tests/auto/qhelpprojectdata/CMakeLists.txt @@ -14,7 +14,7 @@ qt_internal_add_test(tst_qhelpprojectdata tst_qhelpprojectdata.cpp DEFINES QT_USE_USING_NAMESPACE - SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\" + SRCDIR="${CMAKE_CURRENT_SOURCE_DIR}" LIBRARIES Qt::Gui Qt::HelpPrivate -- cgit v1.2.1