diff options
author | Kévin Dietrich <kevin.dietrich@mailoo.org> | 2016-07-21 16:45:07 +0300 |
---|---|---|
committer | Kévin Dietrich <kevin.dietrich@mailoo.org> | 2016-07-21 16:45:07 +0300 |
commit | be1c854019a26f6472abea6d9d9948b7dab4dc12 (patch) | |
tree | e3467f52f190979f4581005221f6817d85bc0f28 /intern/opensubdiv/CMakeLists.txt | |
parent | aa316c73e015be6bb7b93e59c779c53316510590 (diff) |
Attempt to fix compilation error on Windows.
Patch from @fjuhec.
Diffstat (limited to 'intern/opensubdiv/CMakeLists.txt')
-rw-r--r-- | intern/opensubdiv/CMakeLists.txt | 1 |
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. |