|
@@ -23,7 +23,7 @@ if(${CMAKE_CURRENT_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_BINARY_DIR})
|
|
message(FATAL_ERROR "Prevented in-tree build.")
|
|
message(FATAL_ERROR "Prevented in-tree build.")
|
|
endif()
|
|
endif()
|
|
|
|
|
|
-cmake_minimum_required(VERSION 3.7)
|
|
|
|
|
|
+cmake_minimum_required(VERSION 3.18)
|
|
|
|
|
|
project(love)
|
|
project(love)
|
|
|
|
|
|
@@ -79,14 +79,6 @@ endif()
|
|
|
|
|
|
message(STATUS "Target platform: ${LOVE_TARGET_PLATFORM}")
|
|
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)
|
|
if(MEGA)
|
|
# LOVE_MSVC_DLLS contains runtime DLLs that should be bundled with the love
|
|
# LOVE_MSVC_DLLS contains runtime DLLs that should be bundled with the love
|
|
# binary (in e.g. the installer). Example: msvcp140.dll.
|
|
# binary (in e.g. the installer). Example: msvcp140.dll.
|