liblas: fix build with boost 1.86
Disable setting of C++98 standard which was dropped in boost 1.84.0. Co-authored-by: Reno Dakota <paparodeo@proton.me
This commit is contained in:
co-authored by
Reno Dakota <paparodeo@proton.me
parent
587b0e8f9e
commit
aaffc2cce5
@@ -45,6 +45,12 @@ stdenv.mkDerivation rec {
|
||||
})
|
||||
];
|
||||
|
||||
# Disable setting of C++98 standard which was dropped in boost 1.84.0
|
||||
postPatch = ''
|
||||
substituteInPlace CMakeLists.txt \
|
||||
--replace-fail 'set(CMAKE_CXX_FLAGS "''${CMAKE_CXX_FLAGS} -std=c++98 -ansi")' '#'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ cmake ] ++ lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames;
|
||||
buildInputs = [
|
||||
boost
|
||||
|
||||
Reference in New Issue
Block a user