Skip to content
Snippets Groups Projects
Commit 2b938110 authored by Adrien Béraud's avatar Adrien Béraud
Browse files

cmake: force indexation if python is enabled

parent c647b19e
Branches
Tags
No related merge requests found
......@@ -175,6 +175,10 @@ list (APPEND opendht_HEADERS
include/opendht.h
)
if (OPENDHT_PYTHON)
message("Indexation enabled since it is required for Python support")
set(OPENDHT_INDEX ON)
endif()
if (OPENDHT_INDEX)
list (APPEND opendht_SOURCES src/indexation/pht.cpp)
list (APPEND opendht_HEADERS include/opendht/indexation/pht.h)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment