Skip to content

Commit

Permalink
cmake: fix linking http-parser into shared libs
Browse files Browse the repository at this point in the history
  • Loading branch information
Lekensteyn committed Feb 16, 2016
1 parent 3dd57e1 commit a909eb6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions third-party/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a909eb6

Please sign in to comment.