mirror of
https://github.com/love2d/love.git
synced 2026-08-12 08:30:56 +02:00
Update minimum cmake version
Not necessarily needed yet, but given our target platforms, this seems like a sane minimum version. Also means we don't need the separate policy settings, since the new minimum version already enables the new behaviour.
This commit is contained in:
+1
-9
@@ -23,7 +23,7 @@ if(${CMAKE_CURRENT_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_BINARY_DIR})
|
||||
message(FATAL_ERROR "Prevented in-tree build.")
|
||||
endif()
|
||||
|
||||
cmake_minimum_required(VERSION 3.7)
|
||||
cmake_minimum_required(VERSION 3.18)
|
||||
|
||||
project(love)
|
||||
|
||||
@@ -79,14 +79,6 @@ endif()
|
||||
|
||||
message(STATUS "Target platform: ${LOVE_TARGET_PLATFORM}")
|
||||
|
||||
if(POLICY CMP0072)
|
||||
cmake_policy(SET CMP0072 NEW)
|
||||
endif()
|
||||
|
||||
if(POLICY CMP0063)
|
||||
cmake_policy(SET CMP0063 NEW)
|
||||
endif()
|
||||
|
||||
if(MEGA)
|
||||
# LOVE_MSVC_DLLS contains runtime DLLs that should be bundled with the love
|
||||
# binary (in e.g. the installer). Example: msvcp140.dll.
|
||||
|
||||
Reference in New Issue
Block a user