Skip to content

Commit

Permalink
Moving Metal shader dependency to Metal pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
colincornaby committed May 1, 2024
1 parent 77bc448 commit 0a8b591
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 0 additions & 5 deletions Sources/Plasma/Apps/plClient/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -246,11 +246,6 @@ target_link_libraries(
target_include_directories(plClient PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}")

if(APPLE)
add_dependencies(
plClient
pfMetalPipelineShadersMSL21
pfMetalPipelineShadersMSL23
)
list(APPEND plClient_RESOURCES
$<TARGET_FILE:pfMetalPipelineShadersMSL21>
$<TARGET_FILE:pfMetalPipelineShadersMSL23>
Expand Down
5 changes: 5 additions & 0 deletions Sources/Plasma/FeatureLib/pfMetalPipeline/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ target_link_libraries(pfMetalPipeline
INTERFACE
pnFactory
)
add_dependencies(
pfMetalPipeline
pfMetalPipelineShadersMSL21
pfMetalPipelineShadersMSL23
)

target_include_directories(pfMetalPipeline PUBLIC ${metalcpp_SOURCE_DIR})
target_include_directories(pfMetalPipeline PUBLIC "ShaderSrc")
Expand Down

0 comments on commit 0a8b591

Please sign in to comment.