mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[build] CMake: Fix Metal linking on macOS (#2725)
This commit is contained in:
committed by
GitHub
parent
d4d0b5501b
commit
0503225928
5
cmake/modules/LinkMacOSGUI.cmake
Normal file
5
cmake/modules/LinkMacOSGUI.cmake
Normal file
@@ -0,0 +1,5 @@
|
||||
macro(wpilib_link_macos_gui target)
|
||||
if (APPLE)
|
||||
set_target_properties(${target} PROPERTIES LINK_FLAGS "-framework Metal -framework QuartzCore")
|
||||
endif()
|
||||
endmacro()
|
||||
Reference in New Issue
Block a user