Skip to content
Snippets Groups Projects
Commit f69d393c authored by Lars Bilke's avatar Lars Bilke
Browse files

[CMake] Suppress Boost warnings on newest MSVC.

parent f44af100
No related branches found
No related tags found
No related merge requests found
......@@ -122,6 +122,7 @@ if(MSVC)
# This fixes compile errors with
# std::numeric_limits<T>::min() / max()
-DNOMINMAX
-DBOOST_CONFIG_SUPPRESS_OUTDATED_MESSAGE # when VC is newer than Boost
)
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /ignore:4099")
endif()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment