Changeset - r24733:1771b85df64c
[Not reviewed]
master
0 4 0
glx22 - 3 years ago 2021-02-05 01:00:36
glx@openttd.org
Change: [CMake] Bump minimum version to 3.9
4 files changed with 10 insertions and 10 deletions:
0 comments (0 inline, 0 general)
CMakeLists.txt
Show inline comments
 
cmake_minimum_required(VERSION 3.5)
 
cmake_minimum_required(VERSION 3.9)
 

	
 
if(NOT BINARY_NAME)
 
    set(BINARY_NAME openttd)
 
@@ -143,13 +143,8 @@ find_package(Xaudio2)
 

	
 
find_package(Grfcodec)
 

	
 
# IPO is only properly supported from CMake 3.9. Despite the fact we are
 
# CMake 3.5, still enable IPO if we detect we are 3.9+.
 
if(POLICY CMP0069)
 
    cmake_policy(SET CMP0069 NEW)
 
    include(CheckIPOSupported)
 
    check_ipo_supported(RESULT IPO_FOUND)
 
endif()
 
include(CheckIPOSupported)
 
check_ipo_supported(RESULT IPO_FOUND)
 

	
 
show_options()
 

	
cmake/FindICU.cmake
Show inline comments
 
# CMake provides a FindICU module since version 3.7.
 
# But it doesn't use pkgconfig, doesn't set expected variables,
 
# And it returns incomplete dependencies if only some modules are searched.
 

	
 

	
 
#[=======================================================================[.rst:
 
FindICU
 
-------
src/settingsgen/CMakeLists.txt
Show inline comments
 
cmake_minimum_required(VERSION 3.5)
 
cmake_minimum_required(VERSION 3.9)
 

	
 
if (NOT HOST_BINARY_DIR)
 
    project(settingsgen)
src/strgen/CMakeLists.txt
Show inline comments
 
cmake_minimum_required(VERSION 3.5)
 
cmake_minimum_required(VERSION 3.9)
 

	
 
if (NOT HOST_BINARY_DIR)
 
    project(strgen)
0 comments (0 inline, 0 general)