set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS on) to hopefully fix MSVC build problems with examples

This commit is contained in:
Jan W. Krieger 2019-11-21 18:34:09 +01:00 committed by GitHub
parent 6d8139e996
commit 265a36bf89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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