Comments (4)
Ok so there are still reasons to cache these, namely that you could want them decoupled from the cmake install prefix.
The current best solution to this problem is thus a clean configure (with only the CMAKE_INSTALL_PREFIX that will propagate throughout the cache) or explicitely mention the LV2_PLUGIN_INSTALL_DIR on reconfigure. I don't think it is mandatory to add complexity to the build scripts at this point.
Thanks for reporting! 🙂
from sfizz-ui.
Hi, you would have to also override the cmake variable LV2PLUGIN_INSTALL_DIR
after the first run.
It's cached and defined at cmake/LV2Config.cmake
, and it will be defined according to the initial value of the prefix.
(same applies to VST and VSTPLUGIN_INSTALL_DIR
)
from sfizz-ui.
Ahh, I guess I only had a look at the topdir and src
, not lv2
. Thanks, it just worked. I'm not sure if there is any reason to have them independent of CMAKE_INSTALL_PREFIX (i.e. by design) and not sure if I had better close this issue or not. I leave it to you folks.
from sfizz-ui.
if (MSVC)
set (LV2PLUGIN_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lv2" CACHE STRING
"Install destination for LV2 bundle [default: ${CMAKE_INSTALL_PREFIX}/lv2}]")
else()
set (LV2PLUGIN_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib/lv2" CACHE STRING
"Install destination for LV2 bundle [default: ${CMAKE_INSTALL_PREFIX}/lib/lv2}]")
endif()
We could FORCE
these, or make them normal cmake variables rather than cached values? I don't remember if we had a good reason to cache these.
from sfizz-ui.
Related Issues (20)
- standalone flatpak distribution
- ⚠️ Feature requests / questions go in Discussions ⚠️
- Ability to change keyswitch from the UI HOT 2
- vst3sdk out-of-date HOT 2
- Build leads to shared library and standalone HOT 3
- Ensure static or dynamically linking
- Wrong ELF class: ELFCLASS32 HOT 3
- Notes hanging in Reaper (in Sfizz 1.2.3) HOT 4
- "User SFZ Folder" being ignored HOT 1
- Random crackling
- sfizz as external dynamic library HOT 1
- Segfault while trying to interact with UI when file is loading HOT 3
- Reaper crashes whenever I try to load Sfizz VST3 or LV2 (Fedora Linux) HOT 1
- The DEBs for Ubuntu 24 LTS are missing from the OBS
- Issues with vst3sdk 3.7.11_build_10
- Missing dependencies on .deb in ubuntu repository HOT 9
- LV2: Load/Open SFZ file/folder issues HOT 1
- Unable to send project from Windows user to Linux user HOT 7
- android support HOT 1
- clap plugin format support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sfizz-ui.