metal: make metal-cpp a proper external
This commit is contained in:
parent
76009b05a8
commit
c3584e6c39
5 changed files with 19 additions and 20 deletions
|
|
@ -405,6 +405,10 @@ add_dependencies(video_core host_shaders)
|
|||
target_include_directories(video_core PRIVATE ${HOST_SHADERS_INCLUDE})
|
||||
target_link_libraries(video_core PRIVATE sirit Vulkan::Headers Vulkan::UtilityHeaders GPUOpen::VulkanMemoryAllocator)
|
||||
|
||||
if (APPLE)
|
||||
target_link_libraries(video_core PRIVATE metal-cpp)
|
||||
endif()
|
||||
|
||||
if (ENABLE_NSIGHT_AFTERMATH)
|
||||
if (NOT DEFINED ENV{NSIGHT_AFTERMATH_SDK})
|
||||
message(FATAL_ERROR "Environment variable NSIGHT_AFTERMATH_SDK has to be provided")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue