Add Chromium-only Blender WebEngine parity work
This commit is contained in:
22
blender-5.2.0/extern/opensubdiv-source/cmake/FindMetal.cmake
vendored
Normal file
22
blender-5.2.0/extern/opensubdiv-source/cmake/FindMetal.cmake
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
if(APPLE)
|
||||
find_path( METAL_INCLUDE_DIR
|
||||
Metal/Metal.h
|
||||
)
|
||||
|
||||
find_library( METAL_FRAMEWORKS Metal )
|
||||
|
||||
if(METAL_FRAMEWORKS)
|
||||
set( METAL_LIBRARIES "-framework Metal -framework Foundation" )
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
||||
set( METAL_FOUND "NO" )
|
||||
if(METAL_LIBRARIES)
|
||||
set( METAL_FOUND "YES" )
|
||||
endif(METAL_LIBRARIES)
|
||||
|
||||
mark_as_advanced(
|
||||
METAL_INCLUDE_DIR
|
||||
METAL_LIBRARIES
|
||||
)
|
||||
Reference in New Issue
Block a user