Skip to content

Commit a0a9979

Browse files
author
Ivan Stoev
committed
Adding missing files
1 parent 36d6dad commit a0a9979

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

pCloudCC/CMakeLists.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,16 @@ include_directories(${OVERLAY_CLENT_PATH})
3838
link_directories(${PCLSYNC_PATH} ${MBEDTLS_PATH}/library ${SQLITE3_PATH} ${OVERLAY_CLENT_PATH})
3939

4040

41-
add_executable(pcl_client main.cpp pclsync_lib.cpp control_tools.cpp ${OVERLAY_CLENT_PATH}/overlay_client.c ${OVERLAY_CLENT_PATH}/debug.c)
41+
add_executable(pcl_client main.cpp pclsync_lib.cpp control_tools.cpp ${OVERLAY_CLENT_PATH}/overlay_client.c ${OVERLAY_CLENT_PATH}/debug.c ${SQLITE3_PATH}/sqlite3.c)
4242

4343

44-
target_link_libraries(pcl_client psynclib mbedtls sqlite3 fuse pthread z
44+
target_link_libraries(pcl_client psynclib mbedtls fuse pthread z dl
4545
)
4646

4747
target_link_libraries(pcl_client ${Boost_LIBRARIES})
4848

49-
add_dependencies(pcl_client pclsync_clean pclsync sqlite3_lib)
49+
add_dependencies(pclsync sqlite3_lib)
50+
51+
add_dependencies(pcl_client sqlite3_lib pclsync )
5052

5153
install(TARGETS pcl_client RUNTIME DESTINATION bin)

pCloudCC/control_tools.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
#include <string.h>
1616
#include <map>
1717
#include <string>
18-
#include <apr-1.0/apr_poll.h>
1918

2019
namespace control_tools{
2120

pCloudCC/lib/pclsync/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ else
2222
UNAME_S := $(shell uname -s)
2323
UNAME_V := $(shell uname -v)
2424
ifeq ($(UNAME_S),Linux)
25-
CFLAGS += -DP_OS_LINUX
25+
CFLAGS += -DP_OS_LINUX -I../sqlite
2626
ifneq (,$(findstring Debian,$(UNAME_V)))
2727
CFLAGS += -DP_OS_DEBIAN
2828
endif
@@ -55,7 +55,7 @@ ifeq ($(USESSL),securetransport)
5555
endif
5656
ifeq ($(USESSL),mbed)
5757
OBJ += pssl-mbedtls.o
58-
CFLAGS += -DP_SSL_MBEDTLS -I./lib/mbedtls/include/
58+
CFLAGS += -DP_SSL_MBEDTLS -I../mbedtls/include
5959
endif
6060

6161
OBJ1=overlay_client.o

pCloudCC/pclsync_lib.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
#include <iosfwd>
3333
#include <string>
3434
#include <boost/shared_ptr.hpp>
35+
#include <iostream>
3536

3637
struct pstatus_struct_;
3738

0 commit comments

Comments
 (0)