mirror of
https://github.com/luau-lang/luau.git
synced 2024-11-15 06:15:44 +08:00
Only build fuzzer with CMake if 3.26 is available (#1119)
`cmake_minimum_required` is a blocking check and raising required minimal CMake version only for the fuzzer is not good for the users (<3.19 was supported before, but not sure which exact one)
This commit is contained in:
parent
c755875479
commit
6413ea8574
@ -1,5 +1,8 @@
|
||||
# This file is part of the Luau programming language and is licensed under MIT License; see LICENSE.txt for details
|
||||
cmake_minimum_required(VERSION 3.26)
|
||||
if(${CMAKE_VERSION} VERSION_LESS "3.26")
|
||||
message(WARNING "Building the Luau fuzzer requires Clang version 3.26 of higher.")
|
||||
return()
|
||||
endif()
|
||||
|
||||
include(FetchContent)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user