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

Fixed a compiler error on VS with std::numeric_limits.

parent cfe925f4
No related branches found
No related tags found
No related merge requests found
...@@ -63,6 +63,7 @@ IF (WIN32) ...@@ -63,6 +63,7 @@ IF (WIN32)
-D_CRT_NONSTDC_NO_WARNINGS -D_CRT_NONSTDC_NO_WARNINGS
-D_CRT_XNONSTDC_NO_WARNINGS -D_CRT_XNONSTDC_NO_WARNINGS
-D__restrict__=__restrict # this fixes #5 -D__restrict__=__restrict # this fixes #5
-DNOMINMAX # This fixes compile errors with std::numeric_limits<T>::min() / max()
) )
# Sets warning level 3 and ignores some warnings # Sets warning level 3 and ignores some warnings
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /W3 /wd4290 /wd4267") SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /W3 /wd4290 /wd4267")
......
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