diff --git a/src/corelib/configure.cmake b/src/corelib/configure.cmake index 93ccf87e11b..34468bd9aa4 100644 --- a/src/corelib/configure.cmake +++ b/src/corelib/configure.cmake @@ -470,6 +470,7 @@ const auto backtrace = std::stacktrace::current(); # qt_config_compile_test(cxx_std_async_noncopyable LABEL "std::async() NonCopyable" + LIBRARIES Threads::Threads CODE "// Calling std::async with lambda which takes non-copyable argument causes compilation error on // some platforms (VxWorks 24.03 and older with C++17-compatibility for example)