mirror of
https://github.com/mikeoliphant/neural-amp-modeler-lv2.git
synced 2026-05-06 19:50:11 +02:00
Fix install target
The new `DIRECTORY` line makes installation work with any build directory, not just `build`. Using a relative `DESTINATION` path honors `CMAKE_INSTALL_PREFIX` instead of hardcoding it to `/usr`.
This commit is contained in:
+2
-2
@@ -40,8 +40,8 @@ add_custom_target(copy_binaries ALL
|
||||
configure_file(resources/manifest.ttl.in neural_amp_modeler.lv2/manifest.ttl)
|
||||
configure_file(resources/neural_amp_modeler.ttl.in neural_amp_modeler.lv2/neural_amp_modeler.ttl)
|
||||
|
||||
install (DIRECTORY build/neural_amp_modeler.lv2
|
||||
DESTINATION /usr/lib/lv2
|
||||
install (DIRECTORY ${CMAKE_BINARY_DIR}/neural_amp_modeler.lv2
|
||||
DESTINATION lib/lv2
|
||||
)
|
||||
|
||||
set(CPACK_GENERATOR "DEB")
|
||||
|
||||
Reference in New Issue
Block a user