diff options
author | Michael Abrahams <miabraha@gmail.com> | 2015-06-20 18:54:41 +0000 |
---|---|---|
committer | Michael Abrahams <miabraha@gmail.com> | 2015-06-20 18:54:41 +0000 |
commit | 7043083be478eac64a2fe6010d3139500f735814 (patch) | |
tree | 4b0e5b957a6cf6d8cfa8945b0f24d98dd080d228 /cmake/EigenTesting.cmake | |
parent | 84aaef93bac733f1e9e670b38be9465e4816cfbd (diff) |
Use GCC flags in mingw
Diffstat (limited to 'cmake/EigenTesting.cmake')
-rw-r--r-- | cmake/EigenTesting.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/EigenTesting.cmake b/cmake/EigenTesting.cmake index f8aec777d..0774b5d81 100644 --- a/cmake/EigenTesting.cmake +++ b/cmake/EigenTesting.cmake @@ -367,7 +367,7 @@ macro(ei_get_compilerver VAR) # on all other system we rely on ${CMAKE_CXX_COMPILER} # supporting a "--version" or "/version" flag - if(WIN32 AND NOT CYGWIN) + if(WIN32 AND NOT CYGWIN AND NOT MINGW) set(EIGEN_CXX_FLAG_VERSION "/version") else() set(EIGEN_CXX_FLAG_VERSION "--version") |