CMAKE_LINK_WARNING_AS_ERROR — CMake 4.0.2 Documentation (original) (raw)

Added in version 4.0.

Specify whether to treat warnings on link as errors.

This variable is used to initialize theLINK_WARNING_AS_ERROR property on all the targets.