diff options
author | Marius Kintel <marius@kintel.net> | 2013-01-22 00:38:11 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2013-01-22 00:38:11 (GMT) |
commit | 53c4954a718bb543cd2a7e0c04674e32afed83a7 (patch) | |
tree | ec82c138a28c53de28932feca9c87fbbc207cde1 /eigen.pri | |
parent | 784b503f0dd57de2ac55836e07dd14e82800a593 (diff) | |
parent | 8282cd2ea5f764b8062631e236eaba6c0fdc3ea7 (diff) |
Merge pull request #241 from openscad/qt5build
Qt5build
Diffstat (limited to 'eigen.pri')
-rw-r--r-- | eigen.pri | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -67,7 +67,11 @@ isEmpty(EIGEN_INCLUDEPATH) { } # EIGEN being under 'include/eigen[2-3]' needs special prepending -QMAKE_INCDIR_QT = $$EIGEN_INCLUDEPATH $$QMAKE_INCDIR_QT +contains(QT_VERSION, ^5\\..*) { + QMAKE_INCDIR = $$EIGEN_INCLUDEPATH $$QMAKE_INCDIR +} else { + QMAKE_INCDIR_QT = $$EIGEN_INCLUDEPATH $$QMAKE_INCDIR_QT +} # qmakespecs on netbsd prepend system includes, we need eigen first. netbsd* { |