From d5c951f45ed768570df65e29ba9ab9eef2369f37 Mon Sep 17 00:00:00 2001
From: Matei David <matei@cs.toronto.edu>
Date: Wed, 3 Feb 2016 23:50:26 -0500
Subject: [PATCH] add c++98 compile and link flag
Forwarded: https://github.com/pezmaster31/bamtools/pull/116

---
 CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

--- bamtools.orig/CMakeLists.txt
+++ bamtools/CMakeLists.txt
@@ -42,6 +42,7 @@
 
 # define compiler flags for all code
 set( CMAKE_BUILD_TYPE Release )
+set( CMAKE_CXX_FLAGS_RELEASE "-std=c++98 ${CMAKE_CXX_FLAGS_RELEASE}" )
 add_definitions( -Wall -D_FILE_OFFSET_BITS=64 )
 
 # -----------------------------------------------
