mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
System : Remove build warnings (#4963)
This commit is contained in:
2
ThirdParty/boost-Subset/CMakeLists.txt
vendored
2
ThirdParty/boost-Subset/CMakeLists.txt
vendored
@@ -35,6 +35,8 @@ add_library( ${PROJECT_NAME}
|
||||
)
|
||||
if (MSVC)
|
||||
set_target_properties(${PROJECT_NAME} PROPERTIES COMPILE_FLAGS "/wd4244")
|
||||
else()
|
||||
set_target_properties(${PROJECT_NAME} PROPERTIES COMPILE_FLAGS "-Wno-deprecated -Wno-deprecated-declarations")
|
||||
endif()
|
||||
|
||||
target_include_directories(${PROJECT_NAME}
|
||||
|
@@ -35,6 +35,8 @@ target_link_libraries(custom-opm-flowdiag-app
|
||||
|
||||
if (MSVC)
|
||||
set_target_properties(${PROJECT_NAME} PROPERTIES COMPILE_FLAGS "/wd4190 /wd4267")
|
||||
else()
|
||||
set_target_properties(custom-opm-flowdiag-app PROPERTIES COMPILE_FLAGS "-Wno-deprecated -Wno-deprecated-declarations")
|
||||
endif()
|
||||
|
||||
target_include_directories(${PROJECT_NAME}
|
||||
|
@@ -27,6 +27,8 @@ add_library(${PROJECT_NAME}
|
||||
|
||||
if (MSVC)
|
||||
set_target_properties(${PROJECT_NAME} PROPERTIES COMPILE_FLAGS "/wd4267")
|
||||
else()
|
||||
set_target_properties(custom-opm-flowdiagnostics PROPERTIES COMPILE_FLAGS "-Wno-deprecated -Wno-deprecated-declarations")
|
||||
endif()
|
||||
|
||||
target_include_directories(${PROJECT_NAME}
|
||||
|
Reference in New Issue
Block a user