mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 19:18:06 +00:00
fix(CMakeLists.txt): export soci symbols
This commit is contained in:
parent
652a3bf021
commit
82f1950551
1 changed files with 2 additions and 2 deletions
|
|
@ -437,8 +437,8 @@ if(ENABLE_SHARED)
|
|||
target_link_libraries(linphone PRIVATE "-framework Foundation" "-framework AVFoundation")
|
||||
endif()
|
||||
if(WIN32)
|
||||
# Export Xerces symbols.
|
||||
list(APPEND LINPHONE_CXX_OBJECTS_DEFINITIONS "-DDLL_EXPORT")
|
||||
# Export Xerces and Soci symbols.
|
||||
list(APPEND LINPHONE_CXX_OBJECTS_DEFINITIONS "-DDLL_EXPORT" "-DSOCI_DLL")
|
||||
if(CMAKE_SYSTEM_NAME STREQUAL "WindowsPhone" AND NOT CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
|
||||
set_target_properties(linphone PROPERTIES PREFIX "lib")
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue