Skip to content

CMake regression?: default for PA_BUILD_SHARED_LIBS flipped from ON to OFF #918

@RossBencina

Description

@RossBencina

Regarding PR #765 ("Remove usage of global BUILD_SHARED_LIBS variable" by @bheisch, merged April 1, 2023), @dechamps wrote:

FYI it looks like this patch caused the default for PA_BUILD_SHARED_LIBS to flip from ON to OFF, which surprised me - I ended up accidentally releasing a version of my project with PortAudio statically linked instead of bundling it as a separate DLL. (See dechamps/FlexASIO@42e683b.) Thankfully that's benign in my case, but it might not be for others. Was the change of default value intended?

Metadata

Metadata

Assignees

Labels

P1Priority: Highestbuild-cmakeCMake build system

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions