Set required macro of Hunter curl dependency globally to fix PCH issue

core4
kaetemi 3 years ago
parent 1fb977f16b
commit 66cb51f57a
No known key found for this signature in database
GPG Key ID: 9873C4D40BB479BC

@ -53,6 +53,9 @@ IF(HUNTER_ENABLED)
SET(WITH_STATIC_LIBXML2 ON CACHE BOOL "static libxml2" FORCE)
SET(WITH_STATIC_EXTERNAL ON CACHE BOOL "static external" FORCE)
SET(WITH_EXTERNAL OFF CACHE BOOL "external libs" FORCE)
# Workaround for PCH compilation issue, from curl intsizeof depencency
ADD_DEFINITIONS(-D__STDC_LIMIT_MACROS)
ENDIF()

Loading…
Cancel
Save