mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-24 22:27:55 -05:00
Enable warnings as errors for application unit tests
This commit is contained in:
1 parent
bc71762be2
commit
1762dd8099
1 file changed
+5
-1
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user