Skip to content

Commit b2adc76

Browse files
Export symbols for windows (#27)
1 parent 7d1942a commit b2adc76

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ include(cmake/BackwardConfig.cmake)
2828
set(CMAKE_CXX_STANDARD_REQUIRED True)
2929
set(CMAKE_CXX_STANDARD 14)
3030

31+
if(WIN32)
32+
# set the same behavior for windows as it is on linux
33+
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
34+
endif()
35+
3136
###############################################################################
3237
# COMPILER FLAGS
3338
###############################################################################

0 commit comments

Comments
 (0)