deps: http-parser: Remove useless globbing

There's only two code files in the http-parser dependency, so using
globs to find those files seems quite excessive. Fix this by explicitly
naming both files.
This commit is contained in:
Patrick Steinhardt
2020-09-18 14:21:00 +02:00
parent 22f1210f22
commit 5061ad5b98

View File

@@ -1,5 +1,2 @@
file(GLOB SRC_HTTP "*.c" "*.h")
list(SORT SRC_HTTP)
add_library(http-parser OBJECT ${SRC_HTTP})
add_library(http-parser OBJECT http_parser.c http_parser.h)
target_enable_warning(http-parser implicit-fallthrough=1)