aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ae2ca08e..5a97486b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -64,6 +64,9 @@ if (WIN32)
# Don't define min/max macros
add_definitions (-DNOMINMAX)
+
+ # Define M_PI and others
+ add_definitions (-D_USE_MATH_DEFINES)
endif (WIN32)
if (APPLE)