From 87871f56fd1ec19d4bed448b6c6e796a95b9f07b Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Thu, 16 Mar 2017 17:50:53 +0100 Subject: [PATCH] Fix C++ wrapper symbols export. --- wrappers/cpp/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/wrappers/cpp/CMakeLists.txt b/wrappers/cpp/CMakeLists.txt index af9657294..06979e588 100644 --- a/wrappers/cpp/CMakeLists.txt +++ b/wrappers/cpp/CMakeLists.txt @@ -11,6 +11,7 @@ add_library(linphone++ SHARED tools.cc ${CMAKE_CURRENT_BINARY_DIR}/src/linphone++.cc ) +target_compile_definitions(linphone++ PRIVATE "-DLINPHONECXX_EXPORTS") target_link_libraries(linphone++ PRIVATE ${BCTOOLBOX_CORE_LIBRARIES} ${BELLESIP_LIBRARIES} linphone )