mirror of
https://github.com/mikeoliphant/neural-amp-modeler-lv2.git
synced 2026-05-09 20:29:12 +02:00
Added cmake option for smart bypass
This commit is contained in:
@@ -54,6 +54,12 @@ if (DISABLE_DENORMALS)
|
|||||||
add_definitions(-DDISABLE_DENORMALS)
|
add_definitions(-DDISABLE_DENORMALS)
|
||||||
endif (DISABLE_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
|
set_target_properties(neural_amp_modeler
|
||||||
PROPERTIES
|
PROPERTIES
|
||||||
CXX_VISIBILITY_PRESET hidden
|
CXX_VISIBILITY_PRESET hidden
|
||||||
|
|||||||
Reference in New Issue
Block a user