mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Remove SILENCE_TR1_NAMESPACE warnings. We use a new gtest version now.
This commit is contained in:
parent
1614dfa9b8
commit
c29cf315d2
@ -43,11 +43,6 @@ CONFIGURE_FILE( ${CMAKE_CURRENT_LIST_DIR}/RiuThemesDirectory.h.cmake
|
||||
if (MSVC)
|
||||
# Avoid Qt warnings about macro redefinitions for math constants
|
||||
add_definitions(-D_USE_MATH_DEFINES)
|
||||
if (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 19.11)
|
||||
# VS 2017 : Disable warnings from from gtest code, using deprecated code related to TR1
|
||||
add_definitions(-D_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING)
|
||||
message(STATUS "Add flag to disable warings from gtest - _SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
include_directories(
|
||||
|
Loading…
Reference in New Issue
Block a user