Skip to content

Commit

Permalink
Ignore C/C++ warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
manon-traverse committed Apr 18, 2024
1 parent 87c8365 commit 7664fc8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ fn build_fsr3(api_dir: &Path, vk_include_dir: &Path) {
// TODO: Shader permutations are only available for Dx12 currently
// TODO: Generalize folder name
.include("FidelityFX-FSR3/shader_permutations/dx12")
.include(vk_include_dir);
.include(vk_include_dir)
.warnings(false);

if std::env::var("CARGO_CFG_UNIX").is_ok() {
build.define("FFX_GCC", "1").std("c++2a");
Expand Down

0 comments on commit 7664fc8

Please sign in to comment.