diff options
Diffstat (limited to 'intern/libmv/CMakeLists.txt')
-rw-r--r-- | intern/libmv/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/intern/libmv/CMakeLists.txt b/intern/libmv/CMakeLists.txt index 019364d84df..e16e27368d0 100644 --- a/intern/libmv/CMakeLists.txt +++ b/intern/libmv/CMakeLists.txt @@ -38,6 +38,9 @@ set(LIB ) if(WITH_LIBMV) + if(WIN32) + add_definitions(-D_USE_MATH_DEFINES) + endif() add_definitions(${GFLAGS_DEFINES}) add_definitions(${GLOG_DEFINES}) add_definitions(${CERES_DEFINES}) |