gnucash master: Fix build on Ubuntu-18.04.

John Ralls jralls at code.gnucash.org
Mon May 4 22:47:44 EDT 2020


Updated	 via  https://github.com/Gnucash/gnucash/commit/650f7901 (commit)
	from  https://github.com/Gnucash/gnucash/commit/7461cc2a (commit)



commit 650f7901cd406a70550769aa4e22fbc161b24aeb
Author: John Ralls <jralls at ceridwen.us>
Date:   Mon May 4 19:47:34 2020 -0700

    Fix build  on Ubuntu-18.04.

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8e977dfe7..d5c45e982 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,7 +1,9 @@
 # CMakeLists.txt for GnuCash
 
 cmake_minimum_required (VERSION 3.10)
-cmake_policy(SET CMP0082 NEW)
+if (CMAKE_VERSION VERSION_GREATER_EQUAL 3.14.0)
+  cmake_policy(SET CMP0082 NEW)
+endif()
 
 project (gnucash
     VERSION 3.902



Summary of changes:
 CMakeLists.txt | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)



More information about the gnucash-changes mailing list