summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorRyo Nakamura <upa@haeena.net>2022-12-03 20:48:43 +0900
committerRyo Nakamura <upa@haeena.net>2022-12-03 20:48:43 +0900
commit3b794ab51b04cd82f84f5b820f57267695066d80 (patch)
tree2b490f895106da5fa3012f1765bd8bd894b97f12 /CMakeLists.txt
parent50c6781811c880fa98ab368c11e9c33d2804dbf8 (diff)
remove unused code and introduce -b buf_sz option
This commit removes ifdef ASYNC_WRITE. So, mscp always depends on the patched libssh.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 0 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e324e65..17837d0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -40,8 +40,6 @@ list(APPEND MSCP_LINK_LIBS ${OPENSSL_LIBRARIES})
find_package(ZLIB)
list(APPEND MSCP_LINK_LIBS ${ZLIB_LIBRARIES})
-target_compile_definitions(mscp PUBLIC ASYNC_WRITE=1)
-
target_include_directories(mscp PRIVATE ${MSCP_INCLUDE_DIRS})
target_link_directories(mscp PRIVATE ${MSCP_LINK_DIRS})
target_link_libraries(mscp PRIVATE ${MSCP_LINK_LIBS})