From b5d37622c45362a7134288d9ca4f863e9884bb47 Mon Sep 17 00:00:00 2001
From: Chuck Atkins <chuck.atkins@kitware.com>
Date: Wed, 21 Jun 2017 01:40:29 -0600
Subject: [PATCH] Auto-export dll symbols on windows

---
 CMakeLists.txt | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 69ffaa917..fda59429e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -34,6 +34,9 @@ if(NOT CMAKE_RUNTIME_OUTPUT_DIRECTORY)
     ${ADIOS2_BINARY_DIR}/${CMAKE_INSTALL_BINDIR})
 endif()
 
+# Let windows builds auto-export dll symbols
+set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS TRUE)
+
 #------------------------------------------------------------------------------#
 # Top level options
 #------------------------------------------------------------------------------#
-- 
GitLab