From 0a9d8200c7b986f9280a819600701701a5574644 Mon Sep 17 00:00:00 2001 From: daniel-c-harvey Date: Sun, 26 Jul 2026 15:21:47 -0400 Subject: [PATCH] fix(cmake): remove duplicate app_version.cpp from module sources src/app_version.cpp was listed in the reaper_reasampler target_sources block and also compiled into the app_version static lib that the module links. One compile via the lib is correct; the duplicate TU in the module was an ODR/duplicate-symbol hazard on ld. --- CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a1b5497..991ca37 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -340,7 +340,6 @@ add_library(reaper_reasampler MODULE src/actions.cpp src/bank_book.cpp src/owned_manifest.cpp - src/app_version.cpp ) target_link_libraries(reaper_reasampler PRIVATE bank_model capture_paths peaks bank_grid mode_switch tab_strip view_mode_model insert_plan render_settings tail_control realtime_record bank_book wav_trim owned_manifest app_version) target_include_directories(reaper_reasampler PRIVATE ${SDK_INC} ${WDL_INC})