From 265a36bf891bb4d02a03e686e2b8f79e27b7a3bc Mon Sep 17 00:00:00 2001 From: "Jan W. Krieger" Date: Thu, 21 Nov 2019 18:34:09 +0100 Subject: [PATCH] set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS on) to hopefully fix MSVC build problems with examples --- cmake/jkqtplotter_common_compilersettings.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/jkqtplotter_common_compilersettings.cmake b/cmake/jkqtplotter_common_compilersettings.cmake index 46ed1ad1c6..0c94b778d0 100644 --- a/cmake/jkqtplotter_common_compilersettings.cmake +++ b/cmake/jkqtplotter_common_compilersettings.cmake @@ -3,6 +3,7 @@ cmake_minimum_required(VERSION 3.1) # configure compiler set(CMAKE_CXX_STANDARD 11) set(CMAKE_CXX_STANDARD_REQUIRED on) +set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS on) if(MINGW) # COMPILER-SETTINGS FOR MINGW