CMake: Improve atmoicfptr error message on failure

Remove the obsolete reference to the atomicfptr directory in the error
message.

With the improved error reporting of the parent change, the build
system will now dump the output of the atomicfptr test in case of
failure, which should provide more information about what goes wrong.

Pick-to: 6.8 6.9 6.10
Fixes: QTBUG-133687
Change-Id: Iaffc992f90c06425113cc2ef721d87d31e97bbc6
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Alexandru Croitor 2025-06-02 16:12:23 +02:00
parent 5220685a11
commit 86d843be47

View File

@ -1263,7 +1263,7 @@ qt_configure_add_report_entry(
) )
qt_configure_add_report_entry( qt_configure_add_report_entry(
TYPE ERROR TYPE ERROR
MESSAGE "detected a std::atomic implementation that fails for function pointers. Please apply the patch corresponding to your Standard Library vendor, found in qtbase/config.tests/atomicfptr" MESSAGE "detected a std::atomic implementation that fails for function pointers."
CONDITION NOT TEST_atomicfptr CONDITION NOT TEST_atomicfptr
) )
qt_configure_add_report_entry( qt_configure_add_report_entry(