diff options
| author | Yuqian Yang <crupest@crupest.life> | 2025-11-03 20:48:22 +0800 |
|---|---|---|
| committer | Yuqian Yang <crupest@crupest.life> | 2025-11-03 20:48:22 +0800 |
| commit | 40bbf3c14a782673bbd36c8a98adb0934b06add5 (patch) | |
| tree | 4878604ccba77a957cbacd42dd1355fe33f5d0af /src/platform/graphics/quartz/CMakeLists.txt | |
| parent | a04627baa74b2b6660addeb9853225852634cf34 (diff) | |
| download | cru-40bbf3c14a782673bbd36c8a98adb0934b06add5.tar.gz cru-40bbf3c14a782673bbd36c8a98adb0934b06add5.tar.bz2 cru-40bbf3c14a782673bbd36c8a98adb0934b06add5.zip | |
Osx remove Resource.h.
Diffstat (limited to 'src/platform/graphics/quartz/CMakeLists.txt')
| -rw-r--r-- | src/platform/graphics/quartz/CMakeLists.txt | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/platform/graphics/quartz/CMakeLists.txt b/src/platform/graphics/quartz/CMakeLists.txt index 88050a07..bde8e815 100644 --- a/src/platform/graphics/quartz/CMakeLists.txt +++ b/src/platform/graphics/quartz/CMakeLists.txt @@ -1,19 +1,20 @@ add_library(CruPlatformGraphicsQuartz + Base.cpp Brush.cpp - Convert.cpp Factory.cpp Font.cpp Geometry.cpp Image.cpp ImageFactory.cpp Painter.cpp - Resource.cpp TextLayout.cpp ) +find_library(FOUNDATION Foundation REQUIRED) +find_library(CORE_FOUNDATION CoreFoundation REQUIRED) find_library(CORE_GRAPHICS CoreGraphics REQUIRED) find_library(CORE_TEXT CoreText REQUIRED) find_library(IMAGE_IO ImageIO REQUIRED) -target_link_libraries(CruPlatformGraphicsQuartz PUBLIC ${CORE_GRAPHICS} ${CORE_TEXT} ${IMAGE_IO}) -target_link_libraries(CruPlatformGraphicsQuartz PUBLIC CruPlatformBaseOsx CruPlatformGraphics) +target_link_libraries(CruPlatformGraphicsQuartz PUBLIC ${FOUNDATION} ${CORE_FOUNDATION} ${CORE_GRAPHICS} ${CORE_TEXT} ${IMAGE_IO}) +target_link_libraries(CruPlatformGraphicsQuartz PUBLIC CruPlatformGraphics) |
