From c409caa8873e25699fc10ae435e8d123685f28f3 Mon Sep 17 00:00:00 2001 From: crupest Date: Wed, 12 Jan 2022 22:36:09 +0800 Subject: ... --- src/platform/graphics/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/platform/graphics/CMakeLists.txt') diff --git a/src/platform/graphics/CMakeLists.txt b/src/platform/graphics/CMakeLists.txt index 7d86db40..692f8e70 100644 --- a/src/platform/graphics/CMakeLists.txt +++ b/src/platform/graphics/CMakeLists.txt @@ -1,5 +1,6 @@ set(CRU_PLATFORM_GRAPHICS_INCLUDE_DIR ${CRU_INCLUDE_DIR}/cru/platform/graphics) add_library(cru_platform_graphics SHARED + ForDllExport.cpp NullPainter.cpp ) target_sources(cru_platform_graphics PUBLIC @@ -14,4 +15,5 @@ target_sources(cru_platform_graphics PUBLIC ${CRU_PLATFORM_GRAPHICS_INCLUDE_DIR}/TextLayout.hpp ${CRU_PLATFORM_GRAPHICS_INCLUDE_DIR}/util/Painter.hpp ) +target_compile_definitions(cru_platform_graphics PRIVATE CRU_PLATFORM_GRAPHICS_EXPORT_API) target_link_libraries(cru_platform_graphics PUBLIC cru_platform_base) -- cgit v1.2.3