1 diff -ruN a/CMakeLists.txt b/CMakeLists.txt
2 --- a/CMakeLists.txt 2016-12-11 13:07:48.000000000 +0100
3 +++ b/CMakeLists.txt 2021-08-01 13:48:17.937034619 +0200
6 ##ADD_DEFINITIONS(-Wall -O0 -g -fPIC -DPIC) ###USED FOR DEBUG
9 -set (CMAKE_INSTALL_PREFIX "/usr/local/lib/lv2") #Install prefix
10 -#set (CMAKE_INSTALL_PREFIX "$ENV{HOME}/.lv2") #Install prefix
11 +set(LV2_LIB_DIR "lib/lv2")
12 set (LV2_BUNDLE "sapistaEQv2.lv2") #LV2 Bundel dir
13 set(EXECUTABLE_OUTPUT_PATH "${PROJECT_SOURCE_DIR}/bin")
14 set(LIBRARY_OUTPUT_PATH "${PROJECT_SOURCE_DIR}/bin")
17 ##===========================THE LV2 INSTALLER================================================
18 #INSTALL( DIRECTORY "${PROJECT_SOURCE_DIR}/${LV2_BUNDLE}" DESTINATION "${LV2_BUNDLE}")
19 -INSTALL( FILES "manifest.ttl" "eq1qm.ttl" "eq1qs.ttl" "eq4qm.ttl" "eq4qs.ttl" "eq6qm.ttl" "eq6qs.ttl" "eq10qm.ttl" "eq10qs.ttl" "gate.ttl" "compressor.ttl" "compressor_sc.ttl" "gate_stereo.ttl" "compressor_stereo.ttl" "compressor_stereo_sc.ttl" "bassup.ttl" "lr2ms.ttl" "ms2lr.ttl" DESTINATION "${LV2_BUNDLE}")
20 -INSTALL( TARGETS eq1qm eq1qs eq4qm eq4qs eq6qm eq6qs eq10qm eq10qs gate compressor compressor_sc gate_stereo compressor_stereo compressor_stereo_sc bassup matrix_lr2ms matrix_ms2lr DESTINATION "${LV2_BUNDLE}")
21 +INSTALL( FILES "manifest.ttl" "eq1qm.ttl" "eq1qs.ttl" "eq4qm.ttl" "eq4qs.ttl" "eq6qm.ttl" "eq6qs.ttl" "eq10qm.ttl" "eq10qs.ttl" "gate.ttl" "compressor.ttl" "compressor_sc.ttl" "gate_stereo.ttl" "compressor_stereo.ttl" "compressor_stereo_sc.ttl" "bassup.ttl" "lr2ms.ttl" "ms2lr.ttl" DESTINATION "${LV2_LIB_DIR}/${LV2_BUNDLE}")
22 +INSTALL( TARGETS eq1qm eq1qs eq4qm eq4qs eq6qm eq6qs eq10qm eq10qs gate compressor compressor_sc gate_stereo compressor_stereo compressor_stereo_sc bassup matrix_lr2ms matrix_ms2lr DESTINATION "${LV2_LIB_DIR}/${LV2_BUNDLE}")
26 diff -ruN a/gui/CMakeLists.txt b/gui/CMakeLists.txt
27 --- a/gui/CMakeLists.txt 2016-12-11 13:07:53.000000000 +0100
28 +++ b/gui/CMakeLists.txt 2021-08-01 13:52:19.484456051 +0200
30 set_target_properties(eq10q_gui dynamics_gui bassup_gui matrix_ms_gui PROPERTIES PREFIX "")
32 ##=================================INSTALLER=======================================================================
33 -INSTALL( TARGETS eq10q_gui dynamics_gui bassup_gui matrix_ms_gui DESTINATION "${LV2_BUNDLE}/gui")
34 -INSTALL( DIRECTORY "${PROJECT_SOURCE_DIR}/gui/knobs" DESTINATION "${LV2_BUNDLE}/gui")
35 -INSTALL( DIRECTORY "${PROJECT_SOURCE_DIR}/gui/combopix" DESTINATION "${LV2_BUNDLE}/gui")
36 -INSTALL( DIRECTORY "${PROJECT_SOURCE_DIR}/gui/icons" DESTINATION "${LV2_BUNDLE}/gui")
37 +INSTALL( TARGETS eq10q_gui dynamics_gui bassup_gui matrix_ms_gui DESTINATION "${LV2_LIB_DIR}/${LV2_BUNDLE}/gui")
38 +INSTALL( DIRECTORY "${PROJECT_SOURCE_DIR}/gui/knobs" DESTINATION "${LV2_LIB_DIR}/${LV2_BUNDLE}/gui")
39 +INSTALL( DIRECTORY "${PROJECT_SOURCE_DIR}/gui/combopix" DESTINATION "${LV2_LIB_DIR}/${LV2_BUNDLE}/gui")
40 +INSTALL( DIRECTORY "${PROJECT_SOURCE_DIR}/gui/icons" DESTINATION "${LV2_LIB_DIR}/${LV2_BUNDLE}/gui")