diff --git a/cmake/QtSetup.cmake b/cmake/QtSetup.cmake index cbd12e6af9..80fafe9ddf 100644 --- a/cmake/QtSetup.cmake +++ b/cmake/QtSetup.cmake @@ -223,7 +223,6 @@ if(QT_BUILD_STANDALONE_TESTS) set(QT_BUILD_TESTS_BY_DEFAULT ON CACHE BOOL "Should tests be built as part of the default 'all' target." FORCE) endif() -set(BUILD_TESTING ${QT_BUILD_TESTS} CACHE INTERNAL "") if (WASM) set(_qt_batch_tests ON)