CMake/Tests/RunCMake/message/errormessage.cmake

5 lines
73 B
CMake

set(CMAKE_ERROR_DEPRECATED ON)
message(DEPRECATION "This is an error")