diff options
Diffstat (limited to 'src/HTTP/CMakeLists.txt')
-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() |