Skip to content
Snippets Groups Projects
Commit a93df568 authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Only search for libolm, if we don't bundle it

parent dea7b711
No related branches found
No related tags found
No related merge requests found
......@@ -101,13 +101,14 @@ if(USE_BUNDLED_OLM)
GIT_TAG 3.1.4
)
FetchContent_MakeAvailable(Olm)
else()
find_package(Olm 3)
set_package_properties(Olm PROPERTIES
DESCRIPTION "An implementation of the Double Ratchet cryptographic ratchet"
URL "https://git.matrix.org/git/olm/about/"
TYPE REQUIRED
)
endif()
find_package(Olm 3)
set_package_properties(Olm PROPERTIES
DESCRIPTION "An implementation of the Double Ratchet cryptographic ratchet"
URL "https://git.matrix.org/git/olm/about/"
TYPE REQUIRED
)
if(USE_BUNDLED_SODIUM)
hunter_add_package(libsodium)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment