diff options
author | crupest <crupest@outlook.com> | 2022-05-15 14:08:06 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-05-15 14:08:06 +0800 |
commit | 8ad2966933957ac5d6ff8dcd5e732736fd5e4dc6 (patch) | |
tree | 77e41cc14264060517c0f7ed95837012afb8342e /src/platform/graphics/quartz/CMakeLists.txt | |
parent | 9e0c9d3499bc50c3534b4dc500d8b5d0b5f22752 (diff) | |
download | cru-8ad2966933957ac5d6ff8dcd5e732736fd5e4dc6.tar.gz cru-8ad2966933957ac5d6ff8dcd5e732736fd5e4dc6.tar.bz2 cru-8ad2966933957ac5d6ff8dcd5e732736fd5e4dc6.zip |
...
Diffstat (limited to 'src/platform/graphics/quartz/CMakeLists.txt')
-rw-r--r-- | src/platform/graphics/quartz/CMakeLists.txt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/platform/graphics/quartz/CMakeLists.txt b/src/platform/graphics/quartz/CMakeLists.txt new file mode 100644 index 00000000..1fcaff26 --- /dev/null +++ b/src/platform/graphics/quartz/CMakeLists.txt @@ -0,0 +1,19 @@ +add_library(CruPlatformGraphicsQuartz SHARED + Brush.cpp + Convert.cpp + Factory.cpp + Font.cpp + Geometry.cpp + Image.cpp + ImageFactory.cpp + Painter.cpp + Resource.cpp + TextLayout.cpp +) + +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) |