diff options
author | Don Bright <hugh.m.bright@gmail.com> | 2013-05-16 11:54:34 (GMT) |
---|---|---|
committer | Don Bright <hugh.m.bright@gmail.com> | 2013-05-16 11:54:34 (GMT) |
commit | 293f3cc7c9c6dfec76120714b33a458f54792545 (patch) | |
tree | 27c7fe37bd7967b6588916009fad93667a0e1da6 /eigen.pri | |
parent | 26df5c446647aec19fa8a8615e61702950691746 (diff) |
enable mingw64 cross build (alpha stage)
Diffstat (limited to 'eigen.pri')
-rw-r--r-- | eigen.pri | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -70,7 +70,12 @@ isEmpty(EIGEN_INCLUDEPATH) { } mingw-cross-env { - EIGEN_CFLAGS = $$system("i686-pc-mingw32-pkg-config --cflags eigen3") + exists(mingw-cross-env/../i686-pc-mingw32-pkg-config) { + EIGEN_CFLAGS = $$system("i686-pc-mingw32-pkg-config --cflags eigen3") + } + exists(mingw-cross-env/../x86_64-w64-mingw32-pkg-config) { + EIGEN_CFLAGS = $$system("x86_64-w64-mingw32-pkg-config --cflags eigen3") + } EIGEN_INCLUDEPATH = $$replace(EIGEN_CFLAGS,"-I","") } |