aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2020-07-18 14:54:21 +0200
committerHarald Eilertsen <haraldei@anduin.net>2020-07-18 14:54:21 +0200
commit596995cf0b300dd902f37de07d5269ae2f084576 (patch)
tree004570b2bda6feda3637456a14315e7fdee6b507
parentc65b0b5774692bcd441f202ac664a6b63c8abfb9 (diff)
downloadairwindows-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-xplugins/LV2/Helpers.cmake8
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)