diff --git a/CMakeLists.txt b/CMakeLists.txt index 9913606db5ac..edcbc32c986a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -822,7 +822,7 @@ else() set(ZIG_NO_LANGREF_ARG "") endif() if(ZIG_SINGLE_THREADED) - set(ZIG_SINGLE_THREADED_ARG "-fsingle-threaded") + set(ZIG_SINGLE_THREADED_ARG "-Dsingle-threaded") else() set(ZIG_SINGLE_THREADED_ARG "") endif()