Commit 1b797362 authored by Hubert Chathi's avatar Hubert Chathi
Browse files

only export olm functions to avoid colliding with other libraries

parent d47c2a92
...@@ -48,6 +48,10 @@ add_library(olm ...@@ -48,6 +48,10 @@ add_library(olm
lib/curve25519-donna/curve25519-donna.c) lib/curve25519-donna/curve25519-donna.c)
add_library(Olm::Olm ALIAS olm) add_library(Olm::Olm ALIAS olm)
# restrict the exported symbols
set_target_properties(olm PROPERTIES LINK_DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/libolm.version)
target_include_directories(olm target_include_directories(olm
global: olm*; _olm*; megolm*; _ZN3olm*;
local: *;
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