Added cmake option for smart bypass

This commit is contained in:
Mike Oliphant
2025-11-10 10:52:26 -08:00
parent 42d9d8b4c3
commit d998b95e45
+6
View File
@@ -54,6 +54,12 @@ if (DISABLE_DENORMALS)
add_definitions(-DDISABLE_DENORMALS)
endif (DISABLE_DENORMALS)
option(SMART_BYPASS_ENABLED "Enable auto-bypass on silence" OFF)
if (SMART_BYPASS_ENABLED)
add_definitions(-DSMART_BYPASS_ENABLED)
endif (SMART_BYPASS_ENABLED)
set_target_properties(neural_amp_modeler
PROPERTIES
CXX_VISIBILITY_PRESET hidden