feat: Add job configuration to build presets and link yaze_test_support in test CMakeLists

This commit is contained in:
scawful
2025-10-04 16:30:12 -04:00
parent b5880d6ee4
commit 867fa820ba
2 changed files with 45 additions and 21 deletions

View File

@@ -205,6 +205,10 @@ if(YAZE_BUILD_TESTS AND NOT YAZE_BUILD_TESTS STREQUAL "OFF")
endif()
endif()
if(TARGET yaze_test_support)
target_link_libraries(yaze_test yaze_test_support)
endif()
# Conditionally link ImGuiTestEngine only when UI tests are enabled
if(YAZE_ENABLE_UI_TESTS)
target_link_libraries(yaze_test ${IMGUI_TEST_ENGINE_TARGET})