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)
- Fonts must be installed in OS versions before Windows 10 HOT 1
- Incorrect vst3 architecture folder on armhf systems (armv7l → armv7hl) HOT 2
- Voice cout as LV2 control output HOT 2
- Parameter automation of VST HOT 3
- Auto-reload for VST HOT 1
- VST picture not displayed on debian buster HOT 10
- LV2 display issue HOT 5
- GUI for the Standalone (and plugin) HOT 16
- LV2 plug-in build is disabled, how do I enable it? HOT 9
- Can not reload changed SFZ file in LV2 plugin HOT 10
- Not able to reload or load preset HOT 1
- Need documentation on what Midi CC messages that Sfizz can read HOT 7
- Sfizz Crashes with puredata when changing dsp status in external patch, assert faied !voice->isInSisterRing
- 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
- Disappeared large number CC HOT 2
- 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.