diff --git a/CMakeLists.txt b/CMakeLists.txt index ada880da..405f84fa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -450,7 +450,7 @@ endif() if(PY_VERSION VERSION_GREATER_EQUAL "3.8") option(WITH_DECIMAL_CONTEXTVAR "Build _decimal module using a coroutine-local rather than a thread-local context" ON) else() - if(DEFINED WITH_C_LOCALE_COERCION) + if(DEFINED WITH_DECIMAL_CONTEXTVAR) message(AUTHOR_WARNING "WITH_DECIMAL_CONTEXTVAR option is *NOT* supported with Python < 3.8. Current version is ${PY_VERSION}") endif() endif()