Skip to content

RackSDK.cmake bugs? #1028

@Doom2fan

Description

@Doom2fan

I'm making this issue here as a heads-up for potential issues:

In my own plugin, I had issues when trying to update the toolchain for the CI where the Windows builds would fail to load.
This seems to be caused by the link flag for statically linking libstdc++ not actually being set properly. While investigating this, I've also found out some other compilation flags (namely, -march) weren't getting set properly either.

I opened an issue in qno's repo here.
This seems to be caused by RackSDK.cmake using add_link_options and add_compile_options after add_library(${RACK_PLUGIN_LIB} MODULE), moving those commands before that line seems to fix the issues.
I've fixed this in my plugin, feel free to use it if desired.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions