mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-23 06:47:08 -05:00
7907c83175
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
5 lines
91 B
CMake
5 lines
91 B
CMake
|
|
set(WARNING_AS_ERROR ON)
|
|
|
|
include("${CMAKE_CURRENT_LIST_DIR}/WarnError-validation.cmake")
|