From 596995cf0b300dd902f37de07d5269ae2f084576 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Sat, 18 Jul 2020 14:54:21 +0200 Subject: LV2: Move built plugins to an lv2 subfolder under the build dir. --- plugins/LV2/Helpers.cmake | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/LV2/Helpers.cmake b/plugins/LV2/Helpers.cmake index 83c3d95..c3ec543 100755 --- a/plugins/LV2/Helpers.cmake +++ b/plugins/LV2/Helpers.cmake @@ -5,11 +5,11 @@ function(add_airwindows_plugin name) add_library(${name} MODULE ${plug_src}) + set(TARGET_DIR ${CMAKE_CURRENT_BINARY_DIR}/lv2/${name}) set_target_properties(${name} PROPERTIES PREFIX "" - LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${name}) + LIBRARY_OUTPUT_DIRECTORY ${TARGET_DIR}) - # target_include_directories(${name} PRIVATE ${VSTSDK_ROOT}) - configure_file(src/${name}/manifest.ttl.in ${name}/manifest.ttl @ONLY) - configure_file(src/${name}/${name}.ttl ${name}/${name}.ttl COPYONLY) + configure_file(src/${name}/manifest.ttl.in ${TARGET_DIR}/manifest.ttl @ONLY) + configure_file(src/${name}/${name}.ttl ${TARGET_DIR}/${name}.ttl COPYONLY) endfunction(add_airwindows_plugin) -- cgit v1.2.3