diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2020-07-18 14:54:21 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2020-07-18 14:54:21 +0200 |
commit | 596995cf0b300dd902f37de07d5269ae2f084576 (patch) | |
tree | 004570b2bda6feda3637456a14315e7fdee6b507 | |
parent | c65b0b5774692bcd441f202ac664a6b63c8abfb9 (diff) | |
download | airwindows-lv2-port-596995cf0b300dd902f37de07d5269ae2f084576.tar.gz airwindows-lv2-port-596995cf0b300dd902f37de07d5269ae2f084576.tar.bz2 airwindows-lv2-port-596995cf0b300dd902f37de07d5269ae2f084576.zip |
LV2: Move built plugins to an lv2 subfolder under the build dir.
-rwxr-xr-x | plugins/LV2/Helpers.cmake | 8 |
1 files 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) |