From 170a01974ff7bfb0664653d8b4c606df1727fa96 Mon Sep 17 00:00:00 2001 From: Beats Date: Sun, 24 Mar 2024 13:16:11 -0300 Subject: [PATCH] Update BaseConfig.cmake --- cmake/modules/BaseConfig.cmake | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cmake/modules/BaseConfig.cmake b/cmake/modules/BaseConfig.cmake index 6f58a2eebdb..e83aecd8f7a 100644 --- a/cmake/modules/BaseConfig.cmake +++ b/cmake/modules/BaseConfig.cmake @@ -120,7 +120,9 @@ if (MSVC) endforeach(type) add_compile_options(/MP /FS /Zf /EHsc) -endif (MSVC) +else() + add_compile_options(-Wno-sign-compare) +endif() ## Link compilation files to build/bin folder, else link to the main dir function(set_output_directory target_name)