diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2020-05-16 21:59:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-16 21:59:10 +0200 |
commit | 9e8598fb1ca359143600d6bb2e8b317126a86bcc (patch) | |
tree | 677c51b708937ee8fbcdb2da8e180e874878d77a /src/HTTP | |
parent | Travis: Fix ccache on debug builds (#4741) (diff) | |
download | cuberite-9e8598fb1ca359143600d6bb2e8b317126a86bcc.tar cuberite-9e8598fb1ca359143600d6bb2e8b317126a86bcc.tar.gz cuberite-9e8598fb1ca359143600d6bb2e8b317126a86bcc.tar.bz2 cuberite-9e8598fb1ca359143600d6bb2e8b317126a86bcc.tar.lz cuberite-9e8598fb1ca359143600d6bb2e8b317126a86bcc.tar.xz cuberite-9e8598fb1ca359143600d6bb2e8b317126a86bcc.tar.zst cuberite-9e8598fb1ca359143600d6bb2e8b317126a86bcc.zip |
Diffstat (limited to 'src/HTTP')
-rw-r--r-- | src/HTTP/CMakeLists.txt | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/HTTP/CMakeLists.txt b/src/HTTP/CMakeLists.txt index 1bd311dc4..46165af3f 100644 --- a/src/HTTP/CMakeLists.txt +++ b/src/HTTP/CMakeLists.txt @@ -1,5 +1,6 @@ +target_sources( + ${CMAKE_PROJECT_NAME} PRIVATE -SET (SRCS EnvelopeParser.cpp HTTPFormParser.cpp HTTPMessage.cpp @@ -12,9 +13,7 @@ SET (SRCS TransferEncodingParser.cpp UrlClient.cpp UrlParser.cpp -) -SET (HDRS EnvelopeParser.h HTTPFormParser.h HTTPMessage.h @@ -28,8 +27,3 @@ SET (HDRS UrlClient.h UrlParser.h ) - -if(NOT MSVC) - add_library(HTTPServer ${SRCS} ${HDRS}) - target_link_libraries(HTTPServer fmt::fmt) -endif() |