diff options
author | crupest <crupest@outlook.com> | 2021-08-12 21:44:32 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-08-12 21:44:32 +0800 |
commit | 2e379441f69c4fd3049d186f76b25457e6250282 (patch) | |
tree | 893771e5103ca9f3a34bb622251aaacb024cf1c2 /src/platform/gui | |
parent | d718b0f576aeae1fa853124caefc8b0078f1deed (diff) | |
download | cru-2e379441f69c4fd3049d186f76b25457e6250282.tar.gz cru-2e379441f69c4fd3049d186f76b25457e6250282.tar.bz2 cru-2e379441f69c4fd3049d186f76b25457e6250282.zip |
...
Diffstat (limited to 'src/platform/gui')
-rw-r--r-- | src/platform/gui/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/platform/gui/CMakeLists.txt b/src/platform/gui/CMakeLists.txt index aca7620c..7f16a0e0 100644 --- a/src/platform/gui/CMakeLists.txt +++ b/src/platform/gui/CMakeLists.txt @@ -1,5 +1,5 @@ set(CRU_PLATFORM_GUI_INCLUDE_DIR ${CRU_INCLUDE_DIR}/cru/platform/gui) -add_library(cru_platform_gui STATIC +add_library(cru_platform_gui SHARED Keyboard.cpp UiApplication.cpp ) @@ -12,3 +12,4 @@ target_sources(cru_platform_gui PUBLIC ${CRU_PLATFORM_GUI_INCLUDE_DIR}/UiApplication.hpp ) target_link_libraries(cru_platform_gui PUBLIC cru_platform_graphics) +target_compile_definitions(cru_platform_gui PRIVATE CRU_PLATFORM_GUI_EXPORT_API) |