mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
frogatto/anura-engine: fix build
The build failed with ```console Building: src/filesystem.cpp src/filesystem.cpp: In function 'void sys::copy_file(const std::string&, const std::string&)': src/filesystem.cpp:221:26: error: 'bool boost::filesystem::copy_file(const path&, const path&, copy_option)' is deprecated: Use copy_options instead of copy_option [-Werror=deprecated-declarations] 221 | copy_file(path(from), path(to), copy_option::fail_if_exists); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/boost/filesystem.hpp:19, from src/filesystem.cpp:47: include/boost/filesystem/operations.hpp:423:13: note: declared here ```
This commit is contained in:
parent
64e5a0493b
commit
e0547a611e
@ -33,7 +33,7 @@ stdenv.mkDerivation {
|
||||
glm
|
||||
];
|
||||
|
||||
env.CXXFLAGS = "-DGLM_ENABLE_EXPERIMENTAL";
|
||||
env.CXXFLAGS = "-DGLM_ENABLE_EXPERIMENTAL -Wno-error=deprecated-declarations";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user