Skip to content

CMake: warning message with -DPOCO_STATIC confusing #3217

@obiltschnig

Description

@obiltschnig

When using the old -DPOCO_STATIC=ON to configure CMake for static libraries, the message:

 message(WARNING "POCO_STATIC has been deprecated. Please use BUILD_SHARED_LIBS instead.")

could be mis-interpreted to mean POCO does not support static builds at all.
Better change the message to:

POCO_STATIC has been deprecated. Please use BUILD_SHARED_LIBS=NO to build static libraries.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions