Fix eigen

This commit is contained in:
Timothy Gu 2015-07-08 21:39:29 -04:00
parent 69c3d2b28d
commit 6c3c520171
2 changed files with 15 additions and 1 deletions

View File

@ -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")

View File

@ -5,7 +5,7 @@ PKG := eigen
$(PKG)_IGNORE :=
$(PKG)_VERSION := 3.2.5
$(PKG)_CHECKSUM := aa4667f0b134f5688c5dff5f03335d9a19aa9b3d
$(PKG)_SUBDIR := $(PKG)-$(PKG)-1306d75b4a21
$(PKG)_SUBDIR := $(PKG)-$(PKG)-bdd17ee3b1b3
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.bz2
$(PKG)_URL := https://bitbucket.org/$(PKG)/$(PKG)/get/$($(PKG)_VERSION).tar.bz2
$(PKG)_DEPS := gcc