mirror of
https://github.com/KingDuckZ/dindexer.git
synced 2024-11-25 00:53:43 +00:00
Fix incredis.hpp not found error.
This commit is contained in:
parent
ccf13d7dfe
commit
53540e40d8
2 changed files with 3 additions and 2 deletions
|
@ -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)
|
||||
|
|
|
@ -16,7 +16,6 @@ target_include_directories(${PROJECT_NAME} SYSTEM
|
|||
)
|
||||
target_include_directories(${PROJECT_NAME}
|
||||
PRIVATE ${CMAKE_CURRENT_BINARY_DIR}
|
||||
PUBLIC ${CMAKE_SOURCE_DIR}/src/incredis
|
||||
)
|
||||
|
||||
target_link_libraries(${PROJECT_NAME}
|
||||
|
|
Loading…
Reference in a new issue