easyloggingpp: Build with C++14 instead of C++11.
This fixes issues with newer versions of gtest.
This commit is contained in:
parent
a331a49cf7
commit
61ac3fbf2f
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
|||||||
nativeBuildInputs = [cmake];
|
nativeBuildInputs = [cmake];
|
||||||
buildInputs = [gtest];
|
buildInputs = [gtest];
|
||||||
cmakeFlags = [ "-Dtest=ON" ];
|
cmakeFlags = [ "-Dtest=ON" ];
|
||||||
env.NIX_CFLAGS_COMPILE = "-std=c++11" +
|
env.NIX_CFLAGS_COMPILE = "-std=c++14" +
|
||||||
lib.optionalString stdenv.isLinux " -pthread";
|
lib.optionalString stdenv.isLinux " -pthread";
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mkdir -p $out/include
|
mkdir -p $out/include
|
||||||
|
Loading…
Reference in New Issue
Block a user