We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90a7a6d commit bae3aa5Copy full SHA for bae3aa5
CMakeLists.txt
@@ -24,6 +24,7 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Windows")
24
option(WINFORMS_ENABLED "Enable native Windows interface" ON)
25
set(COCOA_ENABLED OFF)
26
set(NCURSES_ENABLED OFF)
27
+ set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
28
elseif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
29
option(COCOA_ENABLED "Enable native MacOS interface" ON)
30
option(NCURSES_ENABLED "Enable NCurses interface" ON)
@@ -75,4 +76,4 @@ if(${NCURSES_ENABLED})
75
76
target_compile_definitions(pq2-ncurses PRIVATE NCURSES_ENABLED)
77
target_link_libraries(pq2-ncurses pq2game pq2utils pq2gui pq2ncurses)
78
target_include_directories(pq2-ncurses PRIVATE pq2game pq2utils pq2gui pq2ncurses)
-endif ()
79
+endif ()
0 commit comments