From 94e9408d86f188e38e4b98c0430f936a27f23e2f Mon Sep 17 00:00:00 2001 From: NoamZeise Date: Tue, 28 Feb 2023 09:27:10 +0000 Subject: [PATCH] rename default cmake build type to Release --- sdl2-sys/build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdl2-sys/build.rs b/sdl2-sys/build.rs index fc4bd92653..689a8e42a0 100644 --- a/sdl2-sys/build.rs +++ b/sdl2-sys/build.rs @@ -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.