summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Edelev <alexey.edelev@qt.io>2023-02-10 13:25:50 +0100
committerAlexey Edelev <alexey.edelev@qt.io>2023-02-21 14:52:10 +0100
commit020414461efdb6da6accae5f8cd296d01440ecf4 (patch)
tree7de3389466713442e398e644add45262790369cc
parentb370dadf6d9c537c005adc8a55eb1f43642ea50a (diff)
downloadqtqa-020414461efdb6da6accae5f8cd296d01440ecf4.tar.gz
Replace BUILD_TESTING with QT_BUILD_TESTS
The BUILD_TESTING was replaced by QT_BUILD_TESTS for Qt repositories. Update it for consistency. Change-Id: Ic7adf850a854021552421193a3b561f732911b09 Reviewed-by: Amir Masoud Abdol <amir.abdol@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 39b8b5f..3c6df50 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -19,7 +19,7 @@ find_package(Qt6 ${PROJECT_VERSION} QUIET CONFIG OPTIONAL_COMPONENTS Gui Widgets
# special case begin
qt_build_repo_begin()
-if(BUILD_TESTING)
+if(QT_BUILD_TESTS)
add_subdirectory(scripts)
add_subdirectory(tests)