Skip to content

Commit

Permalink
Update dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
crud89 committed Feb 9, 2024
1 parent 95afd04 commit 7f960c4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
4 changes: 2 additions & 2 deletions src/Backends/DirectX12/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ TARGET_INCLUDE_DIRECTORIES(${PROJECT_NAME}

# Link project dependencies.
TARGET_LINK_LIBRARIES(${PROJECT_NAME}
PUBLIC LiteFX.Core LiteFX.Math LiteFX.Rendering LiteFX.AppModel Microsoft::DirectX-Headers Microsoft::DirectX-Guids dxgi dxcompiler
PRIVATE unofficial::d3d12-memory-allocator Microsoft::WinPixEventRuntime Microsoft::DirectXAgilitySDK
PUBLIC LiteFX.Core LiteFX.Math LiteFX.Rendering LiteFX.AppModel Microsoft::DirectX-Headers Microsoft::DirectX-Guids dxgi dxcompiler Microsoft::DirectXAgilitySDK
PRIVATE unofficial::d3d12-memory-allocator Microsoft::WinPixEventRuntime
)

# Add shader modules.
Expand Down
8 changes: 1 addition & 7 deletions src/Backends/Vulkan/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,7 @@ TARGET_LINK_LIBRARIES(${PROJECT_NAME}

# Link against D3D12 to enable flip-model swap chains.
IF(LITEFX_BUILD_DIRECTX_12_BACKEND)
FIND_PACKAGE(directx-headers CONFIG REQUIRED)
FIND_PACKAGE(directx-agility-sdk CONFIG REQUIRED)

TARGET_LINK_LIBRARIES(${PROJECT_NAME}
PUBLIC Microsoft::DirectX-Headers Microsoft::DirectX-Guids dxgi d3dcompiler
PRIVATE LiteFX.Backends.DirectX12 Microsoft::DirectXAgilitySDK
)
TARGET_LINK_LIBRARIES(${PROJECT_NAME} PUBLIC LiteFX.Backends.DirectX12)
ENDIF(LITEFX_BUILD_DIRECTX_12_BACKEND)


Expand Down

0 comments on commit 7f960c4

Please sign in to comment.