Skip to content

Commit

Permalink
Prevent min/max from windef.h interference
Browse files Browse the repository at this point in the history
  • Loading branch information
mlt committed Feb 12, 2014
1 parent 63290ca commit d08bb3a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Expand Up @@ -138,6 +138,7 @@ if(WIN32)
add_definitions(-D_CRT_NONSTDC_NO_WARNING)
add_definitions(-D_SCL_SECURE_NO_WARNINGS)
add_definitions(-DSPATIALINDEX_CREATE_DLL=1)
add_definitions(-DNOMINMAX)

set(SIDX_COMPILER_MSVC 1)
if (MSVC11)
Expand Down

0 comments on commit d08bb3a

Please sign in to comment.