diff --git a/development/cmake/ConfigureChecks.cmake b/development/cmake/ConfigureChecks.cmake index 7e6707ca59..ef02a85157 100644 --- a/development/cmake/ConfigureChecks.cmake +++ b/development/cmake/ConfigureChecks.cmake @@ -232,15 +232,6 @@ check_cxx_source_compiles( " HAVE_DEF_MAKE_UNIQUE) -check_cxx_source_compiles( - " - #include - static std::once_flag flag; - int main() { - std::call_once(flag, [](){ return; }); - return(0); - } - " LYX_USE_STD_CALL_ONCE) if (ENCHANT_FOUND)