Merge pull request #290910 from simonhollingshead/lucenepp-cpp14
lucenepp: Build with C++14 instead of C++11.
This commit is contained in:
@@ -29,9 +29,12 @@ stdenv.mkDerivation rec {
|
||||
})
|
||||
];
|
||||
|
||||
# Don't use the built in gtest - but the nixpkgs one requires C++14.
|
||||
postPatch = ''
|
||||
substituteInPlace src/test/CMakeLists.txt \
|
||||
--replace "add_subdirectory(gtest)" ""
|
||||
substituteInPlace CMakeLists.txt \
|
||||
--replace "set(CMAKE_CXX_STANDARD 11)" "set(CMAKE_CXX_STANDARD 14)"
|
||||
'';
|
||||
|
||||
doCheck = true;
|
||||
|
||||
Reference in New Issue
Block a user