diff --git a/options_mac.cmake b/options_mac.cmake index 6829572..a43470e 100644 --- a/options_mac.cmake +++ b/options_mac.cmake @@ -50,8 +50,6 @@ INTERFACE CoreText CoreGraphics CoreMedia - IOSurface - Metal OpenGL AudioUnit ApplicationServices @@ -70,3 +68,11 @@ INTERFACE CoreWLAN IOKit ) + +if (NOT build_osx) + target_link_frameworks(common_options + INTERFACE + IOSurface + Metal + ) +endif()