From dbcf2f417fc545a5fb3a0ee4fb413409a15a0805 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 1 Mar 2021 12:43:32 -0700 Subject: [PATCH] [cmake] Fix syntax --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ec5fac7f5..285ae1043 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -103,7 +103,9 @@ if (${HAVE_STDBOOL_H}) endif () # https://github.com/harfbuzz/harfbuzz/pull/2874#issuecomment-782859099 -if (NOT WIN32) add_definitions("-DHAVE_PTHREAD") endif () +if (NOT WIN32) + add_definitions("-DHAVE_PTHREAD") +endif () if (MSVC) add_definitions(-wd4244 -wd4267 -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_WARNINGS)