mirror of
https://github.com/libgit2/libgit2.git
synced 2026-06-22 06:26:26 +00:00
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:
5
deps/http-parser/CMakeLists.txt
vendored
5
deps/http-parser/CMakeLists.txt
vendored
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user