Attempt to fix compilation error on Windows.

Patch from @fjuhec.
This commit is contained in:
Kévin Dietrich 2016-07-21 15:45:07 +02:00
parent aa316c73e0
commit be1c854019
1 changed files with 1 additions and 0 deletions

View File

@ -70,6 +70,7 @@ add_definitions(-DGLEW_STATIC)
if(WIN32)
add_definitions(-DNOMINMAX)
add_definitions(-D_USE_MATH_DEFINITIONS)
endif()
# TODO(sergey): Put CUEW back when CUDA is officially supported by OSD.