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.
This commit is contained in:
@@ -340,7 +340,6 @@ add_library(reaper_reasampler MODULE
|
|||||||
src/actions.cpp
|
src/actions.cpp
|
||||||
src/bank_book.cpp
|
src/bank_book.cpp
|
||||||
src/owned_manifest.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_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})
|
target_include_directories(reaper_reasampler PRIVATE ${SDK_INC} ${WDL_INC})
|
||||||
|
|||||||
Reference in New Issue
Block a user