parent
69c3d2b28d
commit
6c3c520171
@ -0,0 +1,14 @@
|
||||
This file is part of MXE.
|
||||
See index.html for further information.
|
||||
|
||||
--- a/cmake/EigenTesting.cmake
|
||||
+++ b/cmake/EigenTesting.cmake
|
||||
@@ -324,7 +324,7 @@
|
||||
# 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 CMAKE_COMPILER_IS_GNUCXX AND NOT CMAKE_COMPILER_IS_GNUCC)
|
||||
set(EIGEN_CXX_FLAG_VERSION "/version")
|
||||
else()
|
||||
set(EIGEN_CXX_FLAG_VERSION "--version")
|
Loading…
Reference in new issue