Adds -Wno-sign-compare to test targets

develop
Josh Cooper 2022-11-11 16:12:51 -08:00
parent 9fdb2f7e47
commit de91fa7f28
1 changed files with 1 additions and 0 deletions

@ -87,6 +87,7 @@ macro(dfhack_test name files)
add_executable(${name} test.cpp ${files})
target_link_libraries(${name} dfhack gtest)
add_test(NAME ${name} COMMAND ${name})
set_target_properties(${name} PROPERTIES COMPILE_FLAGS "-Wno-sign-compare")
endmacro()
if(BUILD_TESTING)