Commit 67fb5a8f authored by Nicolas Michon's avatar Nicolas Michon

cmake: disable lime and only warn if both lime & limev2 are enabled

parent be4d04c4
......@@ -164,7 +164,8 @@ if(ENABLE_ASSISTANT)
set(BUILD_WIZARD 1)
endif()
if(ENABLE_LIME AND ENABLE_LIME_X3DH)
message(FATAL_ERROR "Lime V1 and V2 cannot be used simultaneously")
message(WARNING "Lime V1 and V2 cannot be used simultaneously! Using Lime V2 only instead.")
set(ENABLE_LIME FALSE)
endif()
if(ENABLE_LIME_X3DH)
find_package(Lime REQUIRED)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment