aboutsummaryrefslogtreecommitdiff
path: root/src/osx/graphics/quartz
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-09-18 16:13:40 +0800
committercrupest <crupest@outlook.com>2021-09-18 16:13:40 +0800
commit9a42f6fd709feaa9e9e3cc4530c67e2a237d5bee (patch)
treeb063fadfa6197947b975195f967898ee9b926f2d /src/osx/graphics/quartz
parente5b3502b03bdbdbecbd2e8b328e0f874499b452b (diff)
downloadcru-9a42f6fd709feaa9e9e3cc4530c67e2a237d5bee.tar.gz
cru-9a42f6fd709feaa9e9e3cc4530c67e2a237d5bee.tar.bz2
cru-9a42f6fd709feaa9e9e3cc4530c67e2a237d5bee.zip
...
Diffstat (limited to 'src/osx/graphics/quartz')
-rw-r--r--src/osx/graphics/quartz/CMakeLists.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/osx/graphics/quartz/CMakeLists.txt b/src/osx/graphics/quartz/CMakeLists.txt
index 868a3ee2..bd75f30b 100644
--- a/src/osx/graphics/quartz/CMakeLists.txt
+++ b/src/osx/graphics/quartz/CMakeLists.txt
@@ -20,6 +20,9 @@ target_sources(cru_osx_graphics_quartz PUBLIC
${CRU_OSX_GRAPHICS_NATIVE_INCLUDE_DIR}/Resource.hpp
${CRU_OSX_GRAPHICS_NATIVE_INCLUDE_DIR}/TextLayout.hpp
)
-target_link_libraries(cru_osx_graphics_quartz PUBLIC quartz)
-target_link_libraries(cru_osx_graphics_quartz PUBLIC cru_osx_base cru_platform_graphics)
+find_library(CORE_GRAPHICS CoreGraphics REQUIRED)
+find_library(CORE_TEXT CoreText REQUIRED)
+
+target_link_libraries(cru_osx_graphics_quartz PUBLIC ${CORE_GRAPHICS} ${CORE_TEXT})
+target_link_libraries(cru_osx_graphics_quartz PUBLIC cru_osx_base cru_platform_graphics)