CMake/Tests/RunCMake/message/warnmessage.cmake

5 lines
73 B
CMake

set(CMAKE_WARN_DEPRECATED ON)
message(DEPRECATION "This is a warning")