Skip to content

Commit

Permalink
Merge pull request #1289 from NoamZeise/cmake_ninja_error
Browse files Browse the repository at this point in the history
rename default cmake build type to Release, to fix issue with bundled feature
  • Loading branch information
Cobrand authored Sep 18, 2023
2 parents 1555fe8 + 94e9408 commit 2382710
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdl2-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ fn compile_sdl2(sdl2_build_path: &Path, target_os: &str) -> PathBuf {
if let Ok(profile) = env::var("SDL2_BUILD_PROFILE") {
cfg.profile(&profile);
} else {
cfg.profile("release");
cfg.profile("Release");
}

// Allow specifying custom toolchain specifically for SDL2.
Expand Down

0 comments on commit 2382710

Please sign in to comment.