Code Monkey home page Code Monkey logo

Comments (4)

paulfd avatar paulfd commented on May 13, 2024 1

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.

jpcima avatar jpcima commented on May 13, 2024

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.

atsushieno avatar atsushieno commented on May 13, 2024

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.

paulfd avatar paulfd commented on May 13, 2024
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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.