aboutsummaryrefslogtreecommitdiff
path: root/src/platform/graphics/quartz/CMakeLists.txt
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-11-03 20:48:22 +0800
committerYuqian Yang <crupest@crupest.life>2025-11-03 20:48:22 +0800
commit40bbf3c14a782673bbd36c8a98adb0934b06add5 (patch)
tree4878604ccba77a957cbacd42dd1355fe33f5d0af /src/platform/graphics/quartz/CMakeLists.txt
parenta04627baa74b2b6660addeb9853225852634cf34 (diff)
downloadcru-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.txt9
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)