Merge pull request #290673 from simonhollingshead/easyloggingpp-gtest

easyloggingpp: Build with C++14 instead of C++11.
This commit is contained in:
Luke Granger-Brown 2024-02-23 11:25:31 +00:00 committed by GitHub
commit 701f65dc97
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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