CMake: Bump Superbuild CMake requirement to 3.20

This more closely matches the serenity requirement (3.25), the Lagom
requirement (3.21) and the Ladybird requirement (3.23)
This commit is contained in:
Andrew Kaster 2024-04-25 11:22:11 -06:00 committed by Andrew Kaster
parent effd368b5b
commit 65bfd2ca2d
Notes: sideshowbarker 2024-07-17 05:58:46 +09:00

View file

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.16)
cmake_minimum_required(VERSION 3.20)
project(
SerenitySuperbuild
@ -9,8 +9,6 @@ project(
# NOTE: Before CMake 3.19, if a custom command is attached to multiple step targets for Makefile and Visual Studio generators,
# it might be run multiple times during the build. Enable new behavior of policy CMP0114 to avoid this.
cmake_policy(SET CMP0114 NEW)
macro(ensure_dependencies)
endmacro()
get_filename_component(
SERENITY_SOURCE_DIR "${PROJECT_SOURCE_DIR}/../../.."
@ -90,8 +88,6 @@ ExternalProject_Add(
${console_access}
)
ensure_dependencies(lagom)
# Collect options for serenity build
set(serenity_options "")
macro(serenity_option name)
@ -119,5 +115,3 @@ ExternalProject_Add(
STEP_TARGETS configure install
${console_access}
)
ensure_dependencies(serenity)