Skip to content

Commit

Permalink
fix issue building with OSX_DEPLOYMENT_TARGET >= 11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
scheffle committed Sep 5, 2022
1 parent b8e259c commit 7a026e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion vstgui/lib/CMakeLists.txt
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion vstgui/lib/vstguibase.h
Expand Up @@ -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
Expand Down

0 comments on commit 7a026e0

Please sign in to comment.