Skip to content

Commit

Permalink
bug for USE_CUSTOM_TCP_CLIENT (Cylix#139)
Browse files Browse the repository at this point in the history
build under windows ,the filepath is absolute path
  • Loading branch information
wujunjenny authored and Cylix committed Nov 28, 2017
1 parent 2cacc25 commit 6846739
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,9 @@ foreach(dir ${SRC_DIRS})
endforeach()
# filter tcp_client if no tacopie
if(USE_CUSTOM_TCP_CLIENT)
list(REMOVE_ITEM SRC_DIRS "sources/network/tcp_client.cpp" "include/cpp_redis/network/tcp_client.hpp")
file(GLOB tacopie_cpp "sources/network/tcp_client.cpp")
file(GLOB tacopie_h "includes/cpp_redis/network/tcp_client.hpp")
list(REMOVE_ITEM SOURCES ${tacopie_cpp} ${tacopie_h})
endif(USE_CUSTOM_TCP_CLIENT)


Expand Down

0 comments on commit 6846739

Please sign in to comment.