diff --git a/src/modules/jackrack/CMakeLists.txt b/src/modules/jackrack/CMakeLists.txt index 899dc80a5..f717e27d2 100644 --- a/src/modules/jackrack/CMakeLists.txt +++ b/src/modules/jackrack/CMakeLists.txt @@ -16,12 +16,12 @@ if(TARGET JACK::JACK) install(FILES consumer_jack.yml DESTINATION ${MLT_INSTALL_DATA_DIR}/jackrack) endif() -if(USE_LV2) +if(USE_LV2 AND GPL) target_compile_definitions(mltjackrack PRIVATE WITH_LV2) install(FILES filter_lv2.yml producer_lv2.yml DESTINATION ${MLT_INSTALL_DATA_DIR}/jackrack) endif() -if(USE_VST2) +if(USE_VST2 AND GPL) target_compile_definitions(mltjackrack PRIVATE WITH_VST2) install(FILES filter_vst2.yml producer_vst2.yml DESTINATION ${MLT_INSTALL_DATA_DIR}/jackrack) endif()