cmake: fix typo in flag value for single threaded build

This commit is contained in:
Jakub Konka 2023-06-24 17:18:35 +02:00 committed by Andrew Kelley
parent 8ced903d61
commit 13853bef0d

View File

@ -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()