From 8c826a85f3dc457ebfb607d09dac6091dba6a443 Mon Sep 17 00:00:00 2001 From: Daniel Lemire Date: Tue, 28 Feb 2017 10:27:26 -0500 Subject: [PATCH] Tweaking compatibility --- CMakeLists.txt | 1 + src/test.cpp | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2fbfe63..b59544f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,6 +10,7 @@ project(FrameOfReference CXX C) set(PROJECT_URL "https://github.com/lemire/FrameOfReference") set(PROJECT_DESCRIPTION "C++ library to pack and unpack vectors of integers having a small range of values using a technique called Frame of Reference") +set(CMAKE_CXX_STANDARD 11) # library target diff --git a/src/test.cpp b/src/test.cpp index c6f8c17..86bf794 100644 --- a/src/test.cpp +++ b/src/test.cpp @@ -90,7 +90,8 @@ class WallClockTimer { }; #ifndef _WIN32 - +#include +#include class CPUTimer { public: // clock_t t1, t2;