easyloggingpp: Build with C++14 instead of C++11.

This fixes issues with newer versions of gtest.
This commit is contained in:
Simon Hollingshead 2024-02-22 17:42:19 +00:00
parent a331a49cf7
commit 61ac3fbf2f

View file

@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [cmake];
buildInputs = [gtest];
cmakeFlags = [ "-Dtest=ON" ];
env.NIX_CFLAGS_COMPILE = "-std=c++11" +
env.NIX_CFLAGS_COMPILE = "-std=c++14" +
lib.optionalString stdenv.isLinux " -pthread";
postInstall = ''
mkdir -p $out/include