Skip to content

WIP: Ensure that vtkjpeg dirs are searched prior to system include dirs

Cory Quammen requested to merge cory.quammen/vtk:jpeg-include-order into master

When enabling TBB, if the TBB installation location is in a common installation location where a version of libjpeg is also installed, the include directories in vtkIOImage were ordered such that the common system installation directory was searched first. An incompatible jconfig.h file could be found that would cause compilation failure.

Fixed by adding the include directories from module vtkjpeg before any other include directories.

Closes #17276 (closed).

Edited by Cory Quammen

Merge request reports