summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt1
-rw-r--r--src/macos.m2
2 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 43638dfb..afd23be0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,5 @@
1cmake_minimum_required (VERSION 3.9) 1cmake_minimum_required (VERSION 3.9)
2set (CMAKE_OSX_DEPLOYMENT_TARGET 10.14)
2 3
3project (Lagrange 4project (Lagrange
4 VERSION 0.1.0 5 VERSION 0.1.0
diff --git a/src/macos.m b/src/macos.m
index edbb6df0..d44be7d0 100644
--- a/src/macos.m
+++ b/src/macos.m
@@ -58,6 +58,7 @@ enum iTouchBarVariant {
58 default_TouchBarVariant, 58 default_TouchBarVariant,
59}; 59};
60 60
61#if 0
61@interface CommandButton : NSButtonTouchBarItem { 62@interface CommandButton : NSButtonTouchBarItem {
62 NSString *command; 63 NSString *command;
63 iWidget *widget; 64 iWidget *widget;
@@ -110,6 +111,7 @@ enum iTouchBarVariant {
110} 111}
111 112
112@end 113@end
114#endif
113 115
114@interface MyDelegate : NSResponder<NSApplicationDelegate, NSTouchBarDelegate> { 116@interface MyDelegate : NSResponder<NSApplicationDelegate, NSTouchBarDelegate> {
115 enum iTouchBarVariant touchBarVariant; 117 enum iTouchBarVariant touchBarVariant;