cmake: fix linking http-parser into shared libs
This commit is contained in:
parent
3dd57e1f59
commit
a909eb6b23
|
@ -3,6 +3,8 @@ if(ENABLE_THIRD_PARTY)
|
|||
http-parser/http_parser.c
|
||||
)
|
||||
add_library(http-parser OBJECT ${LIBHTTP_PARSER_SOURCES})
|
||||
set_target_properties(http-parser PROPERTIES
|
||||
POSITION_INDEPENDENT_CODE ON)
|
||||
|
||||
if(HAVE_NEVERBLEED)
|
||||
set(NEVERBLEED_SOURCES
|
||||
|
|
Loading…
Reference in New Issue