diff options
| author | skal <pascal.massimino@gmail.com> | 2026-01-31 18:19:25 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-01-31 18:19:25 +0100 |
| commit | 7019aff97f2de31a1ad476e4d155680542a18307 (patch) | |
| tree | d113a6aeae9ee7d77956bd163d13c4b62b782396 /CMakeLists.txt | |
| parent | 5c9286af850f9a3335d294c7c2e100104741b296 (diff) | |
fix: Resolve all remaining linking and include errors for Sequence/Effect tests
Corrects CMakeLists.txt to properly link test_sequence against GLFW and WGPU_LIBRARY. Ensures correct include paths for wgpu headers. Updates demo_effects.cc stub implementations. Finalizes test suite for sequence/effect system.
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 8d065d1..42c2ec0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -285,11 +285,12 @@ if(DEMO_BUILD_TESTS) src/platform.cc third_party/glfw3webgpu/glfw3webgpu.c # Link glfw3webgpu source ) - target_include_directories(test_sequence PRIVATE src ${WGPU_ROOT_INCLUDE_DIR} ${WGPU_ROOT_INCLUDE_DIR}/webgpu-headers) - target_link_libraries(test_sequence PRIVATE ${DEMO_LIBS} ${WGPU_LIBRARY} glfw) # Link glfw - add_dependencies(test_sequence generate_timeline) - add_test(NAME SequenceSystemTest COMMAND test_sequence) -endif() + target_include_directories(test_sequence PRIVATE src ${WGPU_ROOT_INCLUDE_DIR} ${WGPU_ROOT_INCLUDE_DIR}/webgpu-headers) + target_link_libraries(test_sequence PRIVATE ${DEMO_LIBS} ${WGPU_LIBRARY} glfw) + add_dependencies(test_sequence generate_timeline) + add_test(NAME SequenceSystemTest COMMAND test_sequence) + endif() + # Tools if(DEMO_BUILD_TOOLS OR DEMO_BUILD_TESTS) |
