Skip to content

Commit

Permalink
Adding graphics pipelines to pfFeatureInc
Browse files Browse the repository at this point in the history
Should allow tests to build on Mac again. pfFeatureInc included the Metal pipeline header, but didn’t declare it as a dependency.
  • Loading branch information
colincornaby committed Sep 11, 2023
1 parent 2866396 commit 8799c1a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Sources/Plasma/FeatureLib/inc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ target_link_libraries(pfFeatureInc
pfGameMgr
pfJournalBook
pfMessage
$<$<BOOL:${PLASMA_PIPELINE_DX}>:pfDXPipeline>
$<$<BOOL:${PLASMA_PIPELINE_GL}>:pfGLPipeline>
$<$<BOOL:${PLASMA_PIPELINE_METAL}>:pfMetalPipeline>
pfPython
pfSurface
)
Expand Down
2 changes: 1 addition & 1 deletion Sources/Plasma/FeatureLib/pfMetalPipeline/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ target_link_libraries(pfMetalPipeline
pnFactory
)
target_include_directories(pfMetalPipeline PUBLIC "metal-cpp")
target_include_directories(pfMetalPipeline PRIVATE "ShaderSrc")
target_include_directories(pfMetalPipeline PUBLIC "ShaderSrc")

source_group("Source Files" FILES ${pfMetalPipeline_SOURCES})
source_group("Header Files" FILES ${pfMetalPipeline_HEADERS})

0 comments on commit 8799c1a

Please sign in to comment.