Commit 2a198e52 authored by Matthieu Tanon's avatar Matthieu Tanon

Fix core method limeX3dhAvailable

parent 8cdf053b
......@@ -170,6 +170,7 @@ if(ENABLE_LIME AND ENABLE_LIME_V2)
endif()
if(ENABLE_LIME_V2)
find_package(Lime REQUIRED)
set(HAVE_LIME_X3DH TRUE)
endif()
if(ENABLE_LIME)
#bzrtp is only required for LIME
......
......@@ -46,4 +46,5 @@
#cmakedefine HAVE_CU_CURSES 1
#cmakedefine HAVE_LIBUDEV_H 0
#cmakedefine HAVE_LIME
#cmakedefine HAVE_LIME_X3DH
#cmakedefine ENABLE_UPDATE_CHECK 1
......@@ -241,9 +241,8 @@ bool Core::limeX3dhEnabled () const {
return false;
}
// TODO does not work
bool Core::limeX3dhAvailable() const {
#ifdef HAVE_LIME
#ifdef HAVE_LIME_X3DH
return true;
#else
return false;
......
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