From 75ea204e246223d4f40437c6704030d7fdc592bc Mon Sep 17 00:00:00 2001 From: scheffle Date: Sun, 29 Oct 2023 17:29:30 +0100 Subject: [PATCH] fix cmake if macOS deployment target is higher than 11 --- vstgui/tests/unittest/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vstgui/tests/unittest/CMakeLists.txt b/vstgui/tests/unittest/CMakeLists.txt index a6dae3d67..c67ef3663 100644 --- a/vstgui/tests/unittest/CMakeLists.txt +++ b/vstgui/tests/unittest/CMakeLists.txt @@ -191,7 +191,7 @@ endif(VSTGUI_USE_XCODE_XCTEST) if(CMAKE_HOST_APPLE) 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") target_link_libraries(${target} PRIVATE "-framework UniformTypeIdentifiers" )