From be1c854019a26f6472abea6d9d9948b7dab4dc12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Dietrich?= Date: Thu, 21 Jul 2016 15:45:07 +0200 Subject: Attempt to fix compilation error on Windows. Patch from @fjuhec. --- intern/opensubdiv/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'intern/opensubdiv') diff --git a/intern/opensubdiv/CMakeLists.txt b/intern/opensubdiv/CMakeLists.txt index ab660b8162a..55a4b2275e5 100644 --- a/intern/opensubdiv/CMakeLists.txt +++ b/intern/opensubdiv/CMakeLists.txt @@ -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. -- cgit v1.2.3