From: Stephen Seo Date: Mon, 15 Jul 2024 04:20:19 +0000 (+0900) Subject: Inihbit warning when building UnitTests X-Git-Tag: 1.0~1 X-Git-Url: https://git.seodisparate.com/stephenseo/LD53?a=commitdiff_plain;h=09104524b5a92c7644f09eb15da34eba49dd9a08;p=EntityComponentMetaSystem Inihbit warning when building UnitTests Ignore "-Wsign-compare" --- 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)