Skip to content

Commit

Permalink
fix cmake if macOS deployment target is higher than 11
Browse files Browse the repository at this point in the history
  • Loading branch information
scheffle committed Oct 29, 2023
1 parent 5ff861c commit 75ea204
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vstgui/tests/unittest/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down

0 comments on commit 75ea204

Please sign in to comment.