use lowercase "message" to remove recommendation warning (#5196)

It is recommended to use lowercase CMake commands
This commit is contained in:
Connor O'Connor
2025-09-19 11:06:43 -04:00
committed by GitHub
parent 1c3f9fa135
commit ff8333435a

View File

@@ -31,7 +31,7 @@ include(CMakeOptions.txt)
if (UNIX AND NOT APPLE AND NOT "${PLATFORM}" MATCHES "DRM" AND NOT "${PLATFORM}" MATCHES "Web")
if (NOT GLFW_BUILD_WAYLAND AND NOT GLFW_BUILD_X11)
MESSAGE(FATAL_ERROR "Cannot disable both Wayland and X11")
message(FATAL_ERROR "Cannot disable both Wayland and X11")
endif()
endif()
@@ -51,7 +51,7 @@ if(NOT TARGET uninstall AND PROJECT_IS_TOP_LEVEL)
endif()
if (${BUILD_EXAMPLES})
MESSAGE(STATUS "Building examples is enabled")
message(STATUS "Building examples is enabled")
add_subdirectory(examples)
endif()