added compression to crow
This commit is contained in:
@@ -89,11 +89,15 @@ target_link_options(${TARGET_NAME} PRIVATE
|
||||
|
||||
target_compile_definitions(${TARGET_NAME} PRIVATE
|
||||
APPLICATION_NAME="${TARGET_NAME}"
|
||||
SQLITE_THREADSAFE=1
|
||||
ASIO_STANDALONE
|
||||
SQLITE_THREADSAFE=1 # build sqlite with thread safty
|
||||
ASIO_STANDALONE # use asio without boost
|
||||
CROW_ENABLE_COMPRESSION # enable compression part of crow
|
||||
)
|
||||
|
||||
target_link_libraries(${TARGET_NAME} pthread)
|
||||
target_link_libraries(${TARGET_NAME}
|
||||
pthread
|
||||
z # zlib, used by crow for compression
|
||||
)
|
||||
|
||||
# Optional: Print build type at configuration time
|
||||
message(STATUS "Configuring build type: ${CMAKE_BUILD_TYPE}")
|
||||
Reference in New Issue
Block a user