Amend 02beaa0a7b for cmake build

This commit is contained in:
Kornel Benko 2024-10-24 14:19:16 +02:00
parent de08319c73
commit 6c46cc66c9

View File

@ -232,15 +232,6 @@ check_cxx_source_compiles(
"
HAVE_DEF_MAKE_UNIQUE)
check_cxx_source_compiles(
"
#include <mutex>
static std::once_flag flag;
int main() {
std::call_once(flag, [](){ return; });
return(0);
}
"
LYX_USE_STD_CALL_ONCE)
if (ENCHANT_FOUND)