1
0
Fork 0
mirror of https://github.com/KingDuckZ/dindexer.git synced 2025-08-08 13:49:47 +00:00

Fix incredis.hpp not found error.

This commit is contained in:
King_DuckZ 2016-07-15 18:47:57 +01:00
parent ccf13d7dfe
commit 53540e40d8
2 changed files with 3 additions and 2 deletions

View file

@ -121,11 +121,13 @@ if (NOT DINDEXER_CXX11_ABI AND CMAKE_CXX_COMPILER_VERSION_MAJOR EQUAL "5")
)
endif()
list(FIND DINDEXER_ENABLED_BACKENDS "redis" redis_found_index)
string(REPLACE "," ";" backend_list "${DINDEXER_ENABLED_BACKENDS}")
list(FIND backend_list "redis" redis_found_index)
if (${redis_found_index} GREATER -1)
set(DINDEXER_WITH_REDIS ON)
endif()
unset(redis_found_index)
unset(backend_list)
#Libraries
add_subdirectory(src/pq)