From a01d703dace30a40e3d5e9ba6e447b058d88d0a9 Mon Sep 17 00:00:00 2001
From: Guilhem Saurel <guilhem.saurel@laas.fr>
Date: Tue, 10 Nov 2020 17:38:49 +0100
Subject: [PATCH] [CMake] Require C++14
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

On 16.04, fix:
…/dynamic-graph-python-4.0.0/include/dynamic-graph/python/module.hh:47:26: error: 'exposeEntity' function uses 'auto' type specifier without trailing return type
inline auto exposeEntity() {
^
---
 CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 307d5be..211441a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -25,6 +25,7 @@ INCLUDE(cmake/python.cmake)
 # Project definition
 COMPUTE_PROJECT_ARGS(PROJECT_ARGS LANGUAGES CXX)
 PROJECT(${PROJECT_NAME} ${PROJECT_ARGS})
+CHECK_MINIMAL_CXX_STANDARD(14 ENFORCE)
 
 # Project dependencies
 FINDPYTHON()
-- 
GitLab