mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
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];
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue