From c3e0b0f6a8cdadff82dfe2cf8b706f4716cb367e Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Wed, 9 Sep 2020 06:54:38 +0300 Subject: macOS: Deployment taget is 10.14 --- CMakeLists.txt | 1 + src/macos.m | 2 ++ 2 files changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 43638dfb..afd23be0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,5 @@ cmake_minimum_required (VERSION 3.9) +set (CMAKE_OSX_DEPLOYMENT_TARGET 10.14) project (Lagrange 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 { default_TouchBarVariant, }; +#if 0 @interface CommandButton : NSButtonTouchBarItem { NSString *command; iWidget *widget; @@ -110,6 +111,7 @@ enum iTouchBarVariant { } @end +#endif @interface MyDelegate : NSResponder { enum iTouchBarVariant touchBarVariant; -- cgit v1.2.3