diff --git a/Sources/Plasma/Apps/plClient/CMakeLists.txt b/Sources/Plasma/Apps/plClient/CMakeLists.txt index 5a912d7ccc..7e2c9dd01a 100644 --- a/Sources/Plasma/Apps/plClient/CMakeLists.txt +++ b/Sources/Plasma/Apps/plClient/CMakeLists.txt @@ -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 $ $ diff --git a/Sources/Plasma/FeatureLib/pfMetalPipeline/CMakeLists.txt b/Sources/Plasma/FeatureLib/pfMetalPipeline/CMakeLists.txt index 2c9c07d3d0..2129c8b8d2 100644 --- a/Sources/Plasma/FeatureLib/pfMetalPipeline/CMakeLists.txt +++ b/Sources/Plasma/FeatureLib/pfMetalPipeline/CMakeLists.txt @@ -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")