Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKévin Dietrich <kevin.dietrich@mailoo.org>2016-07-21 16:45:07 +0300
committerKévin Dietrich <kevin.dietrich@mailoo.org>2016-07-21 16:45:07 +0300
commitbe1c854019a26f6472abea6d9d9948b7dab4dc12 (patch)
treee3467f52f190979f4581005221f6817d85bc0f28 /intern/opensubdiv
parentaa316c73e015be6bb7b93e59c779c53316510590 (diff)
Attempt to fix compilation error on Windows.
Patch from @fjuhec.
Diffstat (limited to 'intern/opensubdiv')
-rw-r--r--intern/opensubdiv/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
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.