From 09104524b5a92c7644f09eb15da34eba49dd9a08 Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Mon, 15 Jul 2024 13:20:19 +0900 Subject: [PATCH] Inihbit warning when building UnitTests Ignore "-Wsign-compare" --- src/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 81efa30..38af351 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -57,6 +57,7 @@ set(UnitTests_SOURCES add_executable(UnitTests ${UnitTests_SOURCES}) target_link_libraries(UnitTests EntityComponentSystem) target_compile_features(UnitTests PUBLIC cxx_std_14) +target_compile_options(UnitTests PRIVATE "-Wno-sign-compare") enable_testing() add_test(NAME UnitTests COMMAND UnitTests)