Commit c055be0
committed
ENH: Add VTK_QT_VERSION to the VTK global config. options.
By doing this we can determine which version of Qt was used
when VTK was built. Thus in CMakeFiles.txt we can do something
like this:
if(VTK_QT_VERSION VERSION_GREATER "4")
# Do something specific for Qt5
else()
# Do something specific for Qt4
endif()
This allows Qt4 specific or Qt5 specific builds when using Qt
with VTK.
Change-Id: Ia0e1119c5e824a84478e1137b31d19bb868afda0
Signed-off-by: Andrew Maclean <andrew.amaclean@gmail.com>1 parent 00c756e commit c055be0
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| 91 | + | |
91 | 92 | | |
92 | 93 | | |
93 | 94 | | |
| |||
0 commit comments