File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ add_library(libzsync2 SHARED
1919 legacy_http.c
2020 legacy_progress.c
2121 zsmake.cpp
22- ${ZSYNC2_SRCS} ${ZSYNC2_HDRS}
22+ zsutil.cpp
2323 format_string.h
2424 ${PROJECT_BINARY_DIR} /config.h
2525 ${zsync2_public_headers}
Original file line number Diff line number Diff line change 22#include " zsglobal.h"
33
44// system includes
5- #include < iostream >
5+ #include < algorithm >
66#include < deque>
7+ #include < fstream>
78#include < fcntl.h>
9+ #include < iostream>
810#include < set>
911#include < sys/stat.h>
1012#include < utility>
Original file line number Diff line number Diff line change @@ -10,6 +10,6 @@ include_directories(../src)
1010include_directories (${CPR_INCLUDE_DIRS} )
1111
1212add_executable (test_zsutil test_zsutil.cpp)
13- target_link_libraries (test_zsutil gtest ${CPR_LIBRARIES} )
13+ target_link_libraries (test_zsutil PRIVATE libzsync2 gtest cpr )
1414
1515add_test (NAME test_zsutil COMMAND test_zsutil)
You can’t perform that action at this time.
0 commit comments