mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-21 23:11:04 +01:00
[cmake] Define HAVE_PTHREAD if not on win32
Yeah...
This commit is contained in:
1 parent
b368a0736b
commit
11c28cb5fa
1 file changed
+2
@@ -102,6 +102,8 @@ if (${HAVE_STDBOOL_H})
|
||||
add_definitions(-DHAVE_STDBOOL_H)
|
||||
endif ()
|
||||
|
||||
# https://github.com/harfbuzz/harfbuzz/pull/2874#issuecomment-782859099
|
||||
if (NOT WIN32) add_definitions("-DHAVE_PTHREAD") endif ()
|
||||
|
||||
if (MSVC)
|
||||
add_definitions(-wd4244 -wd4267 -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_WARNINGS)
|
||||
|
||||
Reference in new issue
Block a user