diff --git a/modules/sharing/CMakeLists.txt b/modules/sharing/CMakeLists.txt index 879f33aae873..b41bd3ade020 100644 --- a/modules/sharing/CMakeLists.txt +++ b/modules/sharing/CMakeLists.txt @@ -2,8 +2,10 @@ # The list of modules is ordered so that each module occurs after any others # that it depends on -set( MODULES - mod-cloud-audiocom -) +if ( ${_OPT}has_audiocom_upload) + list( APPEND MODULES + mod-cloud-audiocom + ) +endif() audacity_module_subdirectory("${MODULES}")