From 2fa3102bae81ab63a6e0dbadb70c65a1d6b37fea Mon Sep 17 00:00:00 2001 From: Jan Holthuis Date: Sat, 26 Sep 2020 00:10:34 +0200 Subject: [PATCH] CMake: Enable -Wfloat-conversion warnings --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2201689a2d5..0f86161c095 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -942,7 +942,7 @@ if(MSVC) target_compile_options(mixxx-lib PUBLIC /W3) endif() else() - target_compile_options(mixxx-lib PUBLIC -Wall -Wextra) + target_compile_options(mixxx-lib PUBLIC -Wall -Wextra -Wfloat-conversion) if(WARNINGS_PEDANTIC) target_compile_options(mixxx-lib PUBLIC -pedantic) endif()