From 1d6972997295a7f5cdbfdee31e466ed1049c3254 Mon Sep 17 00:00:00 2001 From: scawful Date: Sun, 28 Sep 2025 23:56:24 -0400 Subject: [PATCH] Refactor extract_vanilla_values target linking in CMakeLists.txt - Removed conditional linking of yaze_c library for extract_vanilla_values, clarifying that it operates as a standalone utility. - Updated comments to reflect the core ROM functionality requirements for the utility, enhancing code clarity. --- test/CMakeLists.txt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 4d695f88..dd219940 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -150,10 +150,8 @@ if(NOT YAZE_MINIMAL_BUILD AND YAZE_ENABLE_ROM_TESTS) ${CMAKE_DL_LIBS} ) - # Conditionally link yaze_c only when library is built - if(YAZE_BUILD_LIB) - target_link_libraries(extract_vanilla_values yaze_c) - endif() + # Note: extract_vanilla_values is a standalone utility that doesn't need yaze_c library + # It only needs the core ROM functionality which is provided by the source files endif() # Configure test executable only when tests are enabled