summaryrefslogtreecommitdiffhomepage
path: root/cmake/mingw-w64.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/mingw-w64.cmake')
-rw-r--r--cmake/mingw-w64.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/mingw-w64.cmake b/cmake/mingw-w64.cmake
index fdd8fcbf..5da13ec3 100644
--- a/cmake/mingw-w64.cmake
+++ b/cmake/mingw-w64.cmake
@@ -16,6 +16,7 @@ endif()
set(c ${p}i686-w64-mingw32-)
#set(CMAKE_MAKE_PROGRAM ${p}/mingw32-make.exe CACHE FILEPATH "" FORCE)
+add_definitions(-D_USE_MATH_DEFINES=1)
SET(CMAKE_C_COMPILER ${c}gcc${e})
SET(CMAKE_CXX_COMPILER ${c}g++${e})