Skip to content
This repository was archived by the owner on Apr 6, 2019. It is now read-only.

Commit 72144aa

Browse files
krojewCylix
authored andcommitted
Fix for building without tacopie (#185)
1 parent 21eb5eb commit 72144aa

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

CMakeLists.txt

+6-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,12 @@ endif(WIN32)
7979
find_path(TACOPIE_INCLUDE_DIR tacopie/tacopie PATHS ${PROJECT_SOURCE_DIR}/tacopie/includes/)
8080
find_library(TACOPIE_LIBRARY tacopie)
8181
set(CPP_REDIS_INCLUDES ${PROJECT_SOURCE_DIR}/includes)
82-
set(DEPS_INCLUDES ${PROJECT_SOURCE_DIR}/deps/include ${TACOPIE_INCLUDE_DIR})
82+
set(DEPS_INCLUDES ${PROJECT_SOURCE_DIR}/deps/include)
83+
84+
if(NOT USE_CUSTOM_TCP_CLIENT)
85+
set(DEPS_INCLUDES ${DEPS_INCLUDES} ${TACOPIE_INCLUDE_DIR})
86+
endif()
87+
8388
set(DEPS_LIBRARIES ${PROJECT_SOURCE_DIR}/deps/lib)
8489

8590

0 commit comments

Comments
 (0)