Inihbit warning when building UnitTests
Ignore "-Wsign-compare"
This commit is contained in:
parent
6778f570d9
commit
09104524b5
1 changed files with 1 additions and 0 deletions
|
@ -57,6 +57,7 @@ set(UnitTests_SOURCES
|
||||||
add_executable(UnitTests ${UnitTests_SOURCES})
|
add_executable(UnitTests ${UnitTests_SOURCES})
|
||||||
target_link_libraries(UnitTests EntityComponentSystem)
|
target_link_libraries(UnitTests EntityComponentSystem)
|
||||||
target_compile_features(UnitTests PUBLIC cxx_std_14)
|
target_compile_features(UnitTests PUBLIC cxx_std_14)
|
||||||
|
target_compile_options(UnitTests PRIVATE "-Wno-sign-compare")
|
||||||
|
|
||||||
enable_testing()
|
enable_testing()
|
||||||
add_test(NAME UnitTests COMMAND UnitTests)
|
add_test(NAME UnitTests COMMAND UnitTests)
|
||||||
|
|
Loading…
Reference in a new issue