Commit c473ce42 authored by Rob Latham's avatar Rob Latham

build remi with c++14

parent f7ec1cb4
From 587be53004bf8cbedf221b5a2ed54d6abae7c0a2 Mon Sep 17 00:00:00 2001
From: Rob Latham <robl@mcs.anl.gov>
Date: Tue, 25 Sep 2018 16:42:49 -0500
Subject: [PATCH] explicitly request C++14
---
CMakeLists.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 364f0f0a6e56..bb3b6825f35e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -12,6 +12,8 @@ cmake_minimum_required (VERSION 3.0)
project (remi C CXX)
enable_testing ()
+set(CMAKE_CXX_STANDARD 14)
+
# add our cmake module directory to the path
set (CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH}
"${CMAKE_CURRENT_SOURCE_DIR}/cmake")
--
1.8.3.1
......@@ -12,6 +12,7 @@ class Remi(CMakePackage):
version('master', git='https://xgitlab.cels.anl.gov/sds/remi.git')
depends_on('thallium')
patch('0001-explicitly-request-C-14.patch')
def cmake_args(self):
args = ["-DBUILD_SHARED_LIBS:BOOL=ON" ]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment