mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
Add a way to specify, in a portable way, to raise an error for any warning during the link step. For that purpose, define: * CMAKE_LINK_WARNING_AS_ERROR variable * LINK_WARNING_AS_ERROR target property Fixes: #25343
6 lines
83 B
CMake
6 lines
83 B
CMake
enable_language(C)
|
|
|
|
set(CMAKE_LINK_WARNING_AS_ERROR OFF)
|
|
|
|
include(WarnError.cmake)
|