move some crow files, working on a way to send files compressed without writing them first
parent
80e7088542
commit
03e47e1843
|
@ -11,6 +11,9 @@ set(CROW_FEATURES compression)
|
|||
cmake_policy(SET CMP0057 NEW)
|
||||
#find_package(Crow)
|
||||
|
||||
set(CROW_BUILD_TESTS OFF)
|
||||
set(CROW_BUILD_EXAMPLES OFF)
|
||||
set(CROW_INSTALL OFF)
|
||||
add_subdirectory(libs/crow)
|
||||
|
||||
find_package(CURL)
|
||||
|
@ -39,6 +42,8 @@ file(GLOB_RECURSE source_files src/*.cpp)
|
|||
|
||||
add_executable(crowsite ${source_files})
|
||||
|
||||
target_compile_definitions(crowsite PUBLIC CROW_ENABLE_COMPRESSION)
|
||||
|
||||
target_link_libraries(crowsite BLT)
|
||||
target_link_libraries(crowsite Crow::Crow)
|
||||
target_link_libraries(crowsite ${CURL_LIBRARIES})
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
#define CROWSITE_CROW_INCLUDES_H
|
||||
|
||||
#include <crowsite/config.h>
|
||||
#define CROW_ENABLE_COMPRESSION
|
||||
#include "crow.h"
|
||||
|
||||
#endif //CROWSITE_CROW_INCLUDES_H
|
||||
|
|
2
libs/BLT
2
libs/BLT
|
@ -1 +1 @@
|
|||
Subproject commit 1b4e36416ae67d3a3789333ff965866ae45bb98b
|
||||
Subproject commit d3ed46686eb0667c9824fbba5f90519efd2a50c3
|
Loading…
Reference in New Issue