Fix confusing warning when CMake version is too low (#1251)

Experienced brief moment of panic when this warning said I had clang 3
installed.
This commit is contained in:
Bjorn 2024-05-10 03:36:37 -07:00 committed by GitHub
parent 905a37b928
commit a775bbc6fc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,6 +1,6 @@
# This file is part of the Luau programming language and is licensed under MIT License; see LICENSE.txt for details # This file is part of the Luau programming language and is licensed under MIT License; see LICENSE.txt for details
if(${CMAKE_VERSION} VERSION_LESS "3.26") if(${CMAKE_VERSION} VERSION_LESS "3.26")
message(WARNING "Building the Luau fuzzer requires Clang version 3.26 of higher.") message(WARNING "Building the Luau fuzzer requires CMake version 3.26 or higher.")
return() return()
endif() endif()