MSVC : Disable warnings for opm-flowdiag

This commit is contained in:
Magne Sjaastad 2017-08-17 13:39:54 +02:00
parent 6188f507f2
commit 55f23b0902
2 changed files with 7 additions and 0 deletions

View File

@ -27,3 +27,7 @@ add_library(custom-opm-flowdiag-app
)
target_link_libraries(custom-opm-flowdiag-app ecl)
if (MSVC)
set_target_properties(${PROJECT_NAME} PROPERTIES COMPILE_FLAGS "/wd4190 /wd4267")
endif()

View File

@ -21,3 +21,6 @@ add_library(${PROJECT_NAME}
${project_source_files_complete_path}
)
if (MSVC)
set_target_properties(${PROJECT_NAME} PROPERTIES COMPILE_FLAGS "/wd4267")
endif()