diff options
author | Hubert Chathi <hubert@uhoreg.ca> | 2019-04-29 13:11:48 -0400 |
---|---|---|
committer | Hubert Chathi <hubert@uhoreg.ca> | 2019-04-29 13:11:48 -0400 |
commit | b79c6d6f69d41b3fe6df1b18ecb0c77c4c57333e (patch) | |
tree | fed5b2d2902d9c86978cb7f7bec953afcdeb54c6 | |
parent | 099b3ce82a065bae82e0bbd382c9ceabc819d1b7 (diff) |
export all symbols for Windows DLLs
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 6761295..3e63ea9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) |