Enable warnings as errors for application unit tests

This commit is contained in:
Kristian Bendiksen committed 2026-10-21 14:42:36 +02:00
1 parent bc71762be2
commit 1762dd8099
1 file changed
+5 -1
+5 -1
View File
@@ -375,7 +375,11 @@ if(RESINSIGHT_USE_ODB_API)
list(APPEND LINK_LIBRARIES RifOdbReader)
endif()
target_link_libraries(ResInsight-tests PUBLIC ${LINK_LIBRARIES} GTest::gtest)
target_link_libraries(
ResInsight-tests
PUBLIC ${LINK_LIBRARIES} GTest::gtest
PRIVATE ResInsightCommonSettings
)
if(MSVC)
add_custom_command(