export all symbols for Windows DLLs
This commit is contained in:
parent
099b3ce82a
commit
b79c6d6f69
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
cmake_minimum_required(VERSION 3.1)
|
||||
cmake_minimum_required(VERSION 3.4)
|
||||
|
||||
project(olm VERSION 3.1.0 LANGUAGES CXX C)
|
||||
|
||||
|
@ -15,6 +15,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
|||
set(CMAKE_C_STANDARD 99)
|
||||
set(CMAKE_C_STANDARD_REQUIRED ON)
|
||||
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
|
||||
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
|
||||
|
||||
if(NOT CMAKE_BUILD_TYPE)
|
||||
set(CMAKE_BUILD_TYPE Release)
|
||||
|
|
Loading…
Reference in a new issue