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/gui/osx/CMakeLists.txt | |
parent | 9e0c9d3499bc50c3534b4dc500d8b5d0b5f22752 (diff) | |
download | cru-8ad2966933957ac5d6ff8dcd5e732736fd5e4dc6.tar.gz cru-8ad2966933957ac5d6ff8dcd5e732736fd5e4dc6.tar.bz2 cru-8ad2966933957ac5d6ff8dcd5e732736fd5e4dc6.zip |
...
Diffstat (limited to 'src/platform/gui/osx/CMakeLists.txt')
-rw-r--r-- | src/platform/gui/osx/CMakeLists.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/platform/gui/osx/CMakeLists.txt b/src/platform/gui/osx/CMakeLists.txt new file mode 100644 index 00000000..5442ad15 --- /dev/null +++ b/src/platform/gui/osx/CMakeLists.txt @@ -0,0 +1,15 @@ +add_library(CruPlatformGuiOsx SHARED + Clipboard.mm + Cursor.mm + InputMethod.mm + Keyboard.mm + Menu.mm + Resource.cpp + UiApplication.mm + Window.mm +) + +find_library(APPKIT AppKit REQUIRED) +find_library(UNIFORMTYPEIDENTIFIERS UniformTypeIdentifiers REQUIRED) + +target_link_libraries(CruPlatformGuiOsx PUBLIC CruPlatformGui CruPlatformGraphicsQuartz ${APPKIT} ${UNIFORMTYPEIDENTIFIERS}) |