aboutsummaryrefslogtreecommitdiff
path: root/src/win/gui/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/win/gui/CMakeLists.txt')
-rw-r--r--src/win/gui/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/win/gui/CMakeLists.txt b/src/win/gui/CMakeLists.txt
index 2c8d1aab..b9d2862f 100644
--- a/src/win/gui/CMakeLists.txt
+++ b/src/win/gui/CMakeLists.txt
@@ -1,4 +1,4 @@
-add_library(cru_win_gui STATIC
+add_library(cru_win_gui SHARED
TimerManager.hpp
WindowManager.hpp
@@ -15,3 +15,4 @@ add_library(cru_win_gui STATIC
)
target_link_libraries(cru_win_gui PUBLIC imm32)
target_link_libraries(cru_win_gui PUBLIC cru_win_graphics_direct cru_platform_gui)
+target_compile_definitions(cru_win_gui PRIVATE CRU_WIN_GUI_EXPORT_API)