From 7a026e064506b1ed53c7df03f4cbc337aadb606d Mon Sep 17 00:00:00 2001 From: scheffle Date: Mon, 5 Sep 2022 17:19:23 +0200 Subject: [PATCH] fix issue building with OSX_DEPLOYMENT_TARGET >= 11.0 --- vstgui/lib/CMakeLists.txt | 2 +- vstgui/lib/vstguibase.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/vstgui/lib/CMakeLists.txt b/vstgui/lib/CMakeLists.txt index 0028a607f..7d13703c2 100644 --- a/vstgui/lib/CMakeLists.txt +++ b/vstgui/lib/CMakeLists.txt @@ -348,7 +348,7 @@ if(CMAKE_HOST_APPLE) "-framework Accelerate" ) if(CMAKE_OSX_DEPLOYMENT_TARGET VERSION_GREATER_EQUAL 11.0) - target_compile_definitions(${target} "VSTGUI_USE_OBJC_UTTYPE") + target_compile_definitions(${target} PRIVATE "VSTGUI_USE_OBJC_UTTYPE") set(PLATFORM_LIBRARIES ${PLATFORM_LIBRARIES} "-framework UniformTypeIdentifiers" diff --git a/vstgui/lib/vstguibase.h b/vstgui/lib/vstguibase.h index ce40fbbbd..25c072c30 100644 --- a/vstgui/lib/vstguibase.h +++ b/vstgui/lib/vstguibase.h @@ -13,7 +13,7 @@ //----------------------------------------------------------------------------- #define VSTGUI_VERSION_MAJOR 4 #define VSTGUI_VERSION_MINOR 11 -#define VSTGUI_VERSION_PATCHLEVEL 1 +#define VSTGUI_VERSION_PATCHLEVEL 2 //----------------------------------------------------------------------------- // Platform definitions