Skip to content

Commit bae3aa5

Browse files
committed
Attempt some trickery to get building on msys on windows
1 parent 90a7a6d commit bae3aa5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CMakeLists.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Windows")
2424
option(WINFORMS_ENABLED "Enable native Windows interface" ON)
2525
set(COCOA_ENABLED OFF)
2626
set(NCURSES_ENABLED OFF)
27+
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
2728
elseif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
2829
option(COCOA_ENABLED "Enable native MacOS interface" ON)
2930
option(NCURSES_ENABLED "Enable NCurses interface" ON)
@@ -75,4 +76,4 @@ if(${NCURSES_ENABLED})
7576
target_compile_definitions(pq2-ncurses PRIVATE NCURSES_ENABLED)
7677
target_link_libraries(pq2-ncurses pq2game pq2utils pq2gui pq2ncurses)
7778
target_include_directories(pq2-ncurses PRIVATE pq2game pq2utils pq2gui pq2ncurses)
78-
endif ()
79+
endif ()

0 commit comments

Comments
 (0)