export all symbols for Windows DLLs

This commit is contained in:
Hubert Chathi 2019-04-29 13:11:48 -04:00
parent 099b3ce82a
commit b79c6d6f69

View file

@ -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)