CMake/Tests/RunCMake/message/errormessage_deprecated.cmake

4 lines
83 B
CMake

set(CMAKE_ERROR_DEPRECATED ON)
message(DEPRECATION "This is a deprecation error")