mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-01 03:37:15 -06:00
System : Hide warnings from boost and NRLib
This commit is contained in:
parent
afaf6e0d87
commit
f7a333092d
4
ThirdParty/NRLib/CMakeLists.txt
vendored
4
ThirdParty/NRLib/CMakeLists.txt
vendored
@ -26,5 +26,9 @@ add_library( ${PROJECT_NAME}
|
||||
${NRLIB_WELL_SRC}
|
||||
)
|
||||
|
||||
if (MSVC)
|
||||
set_target_properties(${PROJECT_NAME} PROPERTIES COMPILE_FLAGS "/wd4996")
|
||||
endif()
|
||||
|
||||
add_subdirectory(well_UnitTests)
|
||||
|
||||
|
3
ThirdParty/boost-Subset/CMakeLists.txt
vendored
3
ThirdParty/boost-Subset/CMakeLists.txt
vendored
@ -33,3 +33,6 @@ add_library( ${PROJECT_NAME}
|
||||
|
||||
libs/system/src/error_code.cpp
|
||||
)
|
||||
if (MSVC)
|
||||
set_target_properties(${PROJECT_NAME} PROPERTIES COMPILE_FLAGS "/wd4244")
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user