[Scummvm-git-logs] scummvm master -> 1d080331a4a973717b92f0e91d87116b19258a90

bluegr noreply at scummvm.org
Wed Jan 12 21:41:41 UTC 2022


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
1d080331a4 DEVTOOLS: Bump minimum cmake version to 3.13


Commit: 1d080331a4a973717b92f0e91d87116b19258a90
    https://github.com/scummvm/scummvm/commit/1d080331a4a973717b92f0e91d87116b19258a90
Author: Orgad Shaneh (orgads at gmail.com)
Date: 2022-01-12T23:41:38+02:00

Commit Message:
DEVTOOLS: Bump minimum cmake version to 3.13

This mutes the following warning:
CMake Warning (dev) at CMakeLists.txt:1581 (target_sources):
  Policy CMP0076 is not set: target_sources() command converts relative paths
  to absolute.  Run "cmake --help-policy CMP0076" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.

  An interface source of target "scummvm" has a relative path.
This warning is for project developers.  Use -Wno-dev to suppress it.

Changed paths:
    devtools/create_project/cmake.cpp


diff --git a/devtools/create_project/cmake.cpp b/devtools/create_project/cmake.cpp
index 7fb2369ba50..f77391ca322 100644
--- a/devtools/create_project/cmake.cpp
+++ b/devtools/create_project/cmake.cpp
@@ -76,7 +76,7 @@ void CMakeProvider::createWorkspace(const BuildSetup &setup) {
 	if (!workspace || !workspace.is_open())
 		error("Could not open \"" + filename + "\" for writing");
 
-	workspace << "cmake_minimum_required(VERSION 3.2)\n";
+	workspace << "cmake_minimum_required(VERSION 3.13)\n";
 	workspace << "project(" << setup.projectDescription << ")\n\n";
 
 	workspace << "set(CMAKE_EXPORT_COMPILE_COMMANDS ON)\n";




More information about the Scummvm-git-logs mailing list