diff options
author | Marius Kintel <marius@kintel.net> | 2013-03-09 15:39:55 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2013-03-09 15:39:55 (GMT) |
commit | b308ec270d69ef2981b4c89a55f3549aecc9b603 (patch) | |
tree | b10d66ac1d71850c6111d9c8bc2669c88dc823c7 /eigen.pri | |
parent | b7bb0071fba79233bcc243e18df4fdb2cea97b17 (diff) | |
parent | 1221b66edb06e1b4f009b0ce3ebee1fb1651aa4e (diff) |
Merge branch 'master' of github.com:openscad/openscad
Diffstat (limited to 'eigen.pri')
-rw-r--r-- | eigen.pri | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -59,6 +59,21 @@ isEmpty(EIGEN_INCLUDEPATH) { } } +!exists($$EIGEN_INCLUDEPATH/Eigen/Core) { + EIGEN_CFLAGS = $$system("pkg-config --cflags eigen2") + EIGEN_INCLUDEPATH = $$replace(EIGEN_CFLAGS,"-I","") +} + +!exists($$EIGEN_INCLUDEPATH/Eigen/Core) { + EIGEN_CFLAGS = $$system("pkg-config --cflags eigen3") + EIGEN_INCLUDEPATH = $$replace(EIGEN_CFLAGS,"-I","") +} + +mingw-cross-env { + EIGEN_CFLAGS = $$system("i686-pc-mingw32-pkg-config --cflags eigen3") + EIGEN_INCLUDEPATH = $$replace(EIGEN_CFLAGS,"-I","") +} + # disable Eigen SIMD optimizations for platforms where it breaks compilation !macx { !freebsd-g++ { |