[cmake] Fix syntax

This commit is contained in:
Behdad Esfahbod 2021-03-01 12:43:32 -07:00
parent 93745f9f49
commit dbcf2f417f
1 changed files with 3 additions and 1 deletions

View File

@ -103,7 +103,9 @@ if (${HAVE_STDBOOL_H})
endif () endif ()
# https://github.com/harfbuzz/harfbuzz/pull/2874#issuecomment-782859099 # 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) if (MSVC)
add_definitions(-wd4244 -wd4267 -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_WARNINGS) add_definitions(-wd4244 -wd4267 -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_WARNINGS)