aboutsummaryrefslogtreecommitdiff
path: root/src/osx
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-05-15 13:35:50 +0800
committercrupest <crupest@outlook.com>2022-05-15 13:35:50 +0800
commit2145308fff868b3b0c234d242db4c47ff9607fa3 (patch)
tree4dbe08dcdc9f15b81588e563981323e898dd2a9f /src/osx
parent4cdfef9bb8a25891fd8283efd0ce18c69435aff0 (diff)
downloadcru-2145308fff868b3b0c234d242db4c47ff9607fa3.tar.gz
cru-2145308fff868b3b0c234d242db4c47ff9607fa3.tar.bz2
cru-2145308fff868b3b0c234d242db4c47ff9607fa3.zip
...
Diffstat (limited to 'src/osx')
-rw-r--r--src/osx/CMakeLists.txt4
-rw-r--r--src/osx/graphics/quartz/CMakeLists.txt6
-rw-r--r--src/osx/gui/CMakeLists.txt4
3 files changed, 7 insertions, 7 deletions
diff --git a/src/osx/CMakeLists.txt b/src/osx/CMakeLists.txt
index ad591478..0a8bb7af 100644
--- a/src/osx/CMakeLists.txt
+++ b/src/osx/CMakeLists.txt
@@ -1,11 +1,11 @@
-add_library(cru_osx_base SHARED
+add_library(CruPlatformBaseOsx SHARED
Resource.cpp
)
find_library(FOUNDATION Foundation REQUIRED)
find_library(CORE_FOUNDATION CoreFoundation REQUIRED)
-target_link_libraries(cru_osx_base PUBLIC cru_platform_base ${FOUNDATION} ${CORE_FOUNDATION})
+target_link_libraries(CruPlatformBaseOsx PUBLIC CruPlatformBase ${FOUNDATION} ${CORE_FOUNDATION})
add_subdirectory(graphics)
add_subdirectory(gui)
diff --git a/src/osx/graphics/quartz/CMakeLists.txt b/src/osx/graphics/quartz/CMakeLists.txt
index 0f44fecf..1fcaff26 100644
--- a/src/osx/graphics/quartz/CMakeLists.txt
+++ b/src/osx/graphics/quartz/CMakeLists.txt
@@ -1,4 +1,4 @@
-add_library(cru_osx_graphics_quartz SHARED
+add_library(CruPlatformGraphicsQuartz SHARED
Brush.cpp
Convert.cpp
Factory.cpp
@@ -15,5 +15,5 @@ find_library(CORE_GRAPHICS CoreGraphics REQUIRED)
find_library(CORE_TEXT CoreText REQUIRED)
find_library(IMAGE_IO ImageIO REQUIRED)
-target_link_libraries(cru_osx_graphics_quartz PUBLIC ${CORE_GRAPHICS} ${CORE_TEXT} ${IMAGE_IO})
-target_link_libraries(cru_osx_graphics_quartz PUBLIC cru_osx_base cru_platform_graphics)
+target_link_libraries(CruPlatformGraphicsQuartz PUBLIC ${CORE_GRAPHICS} ${CORE_TEXT} ${IMAGE_IO})
+target_link_libraries(CruPlatformGraphicsQuartz PUBLIC CruPlatformBaseOsx CruPlatformGraphics)
diff --git a/src/osx/gui/CMakeLists.txt b/src/osx/gui/CMakeLists.txt
index 5da507e1..5442ad15 100644
--- a/src/osx/gui/CMakeLists.txt
+++ b/src/osx/gui/CMakeLists.txt
@@ -1,4 +1,4 @@
-add_library(cru_osx_gui SHARED
+add_library(CruPlatformGuiOsx SHARED
Clipboard.mm
Cursor.mm
InputMethod.mm
@@ -12,4 +12,4 @@ add_library(cru_osx_gui SHARED
find_library(APPKIT AppKit REQUIRED)
find_library(UNIFORMTYPEIDENTIFIERS UniformTypeIdentifiers REQUIRED)
-target_link_libraries(cru_osx_gui PUBLIC cru_platform_gui cru_osx_graphics_quartz ${APPKIT} ${UNIFORMTYPEIDENTIFIERS})
+target_link_libraries(CruPlatformGuiOsx PUBLIC CruPlatformGui CruPlatformGraphicsQuartz ${APPKIT} ${UNIFORMTYPEIDENTIFIERS})