Skip to content

Commit b4b73a1

Browse files
committed
use lowercase "message" to remove recommendation warning
It is recommended to use lowercase CMake commands
1 parent 1c3f9fa commit b4b73a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ include(CMakeOptions.txt)
3131

3232
if (UNIX AND NOT APPLE AND NOT "${PLATFORM}" MATCHES "DRM" AND NOT "${PLATFORM}" MATCHES "Web")
3333
if (NOT GLFW_BUILD_WAYLAND AND NOT GLFW_BUILD_X11)
34-
MESSAGE(FATAL_ERROR "Cannot disable both Wayland and X11")
34+
message(FATAL_ERROR "Cannot disable both Wayland and X11")
3535
endif()
3636
endif()
3737

@@ -51,7 +51,7 @@ if(NOT TARGET uninstall AND PROJECT_IS_TOP_LEVEL)
5151
endif()
5252

5353
if (${BUILD_EXAMPLES})
54-
MESSAGE(STATUS "Building examples is enabled")
54+
message(STATUS "Building examples is enabled")
5555
add_subdirectory(examples)
5656
endif()
5757

0 commit comments

Comments
 (0)