diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-09-20 19:27:18 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-09-20 23:22:06 +0200 |
commit | c28efa181dc302489ff5bd1bb2f7d2d5d88bfd92 (patch) | |
tree | dfe3f1121e6df7794e5eca08f62c25d264a74efb /cmake | |
parent | 16f391b203e20b91dff713c40c07aec4885c7350 (diff) |
cmake: expose M_PI and friends on MSVC
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/opentrack-platform.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/opentrack-platform.cmake b/cmake/opentrack-platform.cmake index c659e4c0..2986f12f 100644 --- a/cmake/opentrack-platform.cmake +++ b/cmake/opentrack-platform.cmake @@ -3,7 +3,7 @@ IF(CMAKE_SYSTEM_NAME STREQUAL "Linux") endif() if(MSVC) - add_definitions(-DNOMINMAX -D_CRT_SECURE_NO_WARNINGS) + add_definitions(-DNOMINMAX -D_CRT_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES) endif() if(WIN32) |