Skip to content

Commit 27b37bc

Browse files
committed
fix(build): link resize test to input library
1 parent a5b19e2 commit 27b37bc

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to Pyramid Engine are documented here. The project is pre-al
44

55
## [Unreleased]
66

7+
### Build fixes
8+
9+
- Fixed `WindowResizeEventTests` after the input-library extraction by linking it to `Pyramid::Input`, which propagates the required input and foundation headers.
10+
711
### Owned model import foundation
812

913
- Added the independently installable `PyramidModel` target exported as `Pyramid::Model`; it depends only on `Pyramid::Foundation` and `Pyramid::Math`.

Tests/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ set_target_properties(InputActionTests PROPERTIES FOLDER "Tests/Input")
2020
add_test(NAME Input.ActionMapping COMMAND $<TARGET_FILE:InputActionTests>)
2121

2222
add_executable(WindowResizeEventTests WindowResizeEventTests.cpp)
23-
target_link_libraries(WindowResizeEventTests PRIVATE Pyramid::Foundation)
23+
target_link_libraries(WindowResizeEventTests PRIVATE Pyramid::Input)
2424
target_include_directories(WindowResizeEventTests
2525
PRIVATE
2626
"${PROJECT_SOURCE_DIR}/Engine/Core/include"

0 commit comments

Comments
 (0)