[Bf-blender-cvs] [1deb01a] master: Attempt to fix compilation on Windows, take 2

Kévin Dietrich noreply at git.blender.org
Thu Jul 21 16:12:40 CEST 2016


Commit: 1deb01a9b9c00bb31fa9bad7a3b00087e29e054c
Author: Kévin Dietrich
Date:   Thu Jul 21 16:12:31 2016 +0200
Branches: master
https://developer.blender.org/rB1deb01a9b9c00bb31fa9bad7a3b00087e29e054c

Attempt to fix compilation on Windows, take 2

Previous patch was wrong apparently... :|

===================================================================

M	intern/opensubdiv/CMakeLists.txt

===================================================================

diff --git a/intern/opensubdiv/CMakeLists.txt b/intern/opensubdiv/CMakeLists.txt
index 55a4b22..f8e80de 100644
--- a/intern/opensubdiv/CMakeLists.txt
+++ b/intern/opensubdiv/CMakeLists.txt
@@ -70,7 +70,7 @@ add_definitions(-DGLEW_STATIC)
 
 if(WIN32)
 	add_definitions(-DNOMINMAX)
-	add_definitions(-D_USE_MATH_DEFINITIONS)
+	add_definitions(-D_USE_MATH_DEFINES)
 endif()
 
 # TODO(sergey): Put CUEW back when CUDA is officially supported by OSD.




More information about the Bf-blender-cvs mailing list