[VTK 9.0] Building with external PEGTL not working.
-- Found PEGTL: D:/qt2/installed/x64-windows/include/tao (found suitable version "3.0.0", minimum required is "2.0.0")
Error:
FAILED: IO/MotionFX/CMakeFiles/IOMotionFX.dir/vtkMotionFXCFGReader.cxx.obj
C:\PROGRA~2\MIB055~1\2019\COMMUN~1\VC\Tools\MSVC\1425~1.286\bin\Hostx64\x64\cl.exe /TP -DIOMotionFX_EXPORTS -DVTK_IN_VTK -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -IIO\MotionFX -ID:\qt2\buildtrees\vtk\src\a3ddafb3ad-6f3d1d5aad\IO\MotionFX -ICommon\ExecutionModel -ID:\qt2\buildtrees\vtk\src\a3ddafb3ad-6f3d1d5aad\Common\ExecutionModel -ICommon\Core -ID:\qt2\buildtrees\vtk\src\a3ddafb3ad-6f3d1d5aad\Common\Core -ICommon\DataModel -ID:\qt2\buildtrees\vtk\src\a3ddafb3ad-6f3d1d5aad\Common\DataModel -ICommon\Math -ID:\qt2\buildtrees\vtk\src\a3ddafb3ad-6f3d1d5aad\Common\Math -ICommon\Transforms -ID:\qt2\buildtrees\vtk\src\a3ddafb3ad-6f3d1d5aad\Common\Transforms -ICommon\Misc -ID:\qt2\buildtrees\vtk\src\a3ddafb3ad-6f3d1d5aad\Common\Misc -IIO\Geometry -ID:\qt2\buildtrees\vtk\src\a3ddafb3ad-6f3d1d5aad\IO\Geometry -IIO\Core -ID:\qt2\buildtrees\vtk\src\a3ddafb3ad-6f3d1d5aad\IO\Core -IIO\Legacy -ID:\qt2\buildtrees\vtk\src\a3ddafb3ad-6f3d1d5aad\IO\Legacy -IUtilities\KWIML -ID:\qt2\buildtrees\vtk\src\a3ddafb3ad-6f3d1d5aad\Utilities\KWIML -IUtilities\KWSys -ID:\qt2\buildtrees\vtk\src\a3ddafb3ad-6f3d1d5aad\Utilities\KWSys -IThirdParty\pegtl -ID:\qt2\buildtrees\vtk\src\a3ddafb3ad-6f3d1d5aad\ThirdParty\pegtl -ID:\qt2\installed\x64-windows\include\tao /nologo /DWIN32 /D_WINDOWS /W4 /utf-8 /GR /EHsc /MP /DVCPKG_IS_COOL /bigobj /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /DVCPKG_IS_COOL_DEBUG /showIncludes /FoIO\MotionFX\CMakeFiles\IOMotionFX.dir\vtkMotionFXCFGReader.cxx.obj /FdIO\MotionFX\CMakeFiles\IOMotionFX.dir\ /FS -c D:\qt2\buildtrees\vtk\src\a3ddafb3ad-6f3d1d5aad\IO\MotionFX\vtkMotionFXCFGReader.cxx
D:\qt2\buildtrees\vtk\x64-windows-dbg\ThirdParty\pegtl\vtk_pegtl.h(28): fatal error C1083: Cannot open include file: 'tao/pegtl.hpp': No such file or directory
Currently trying to figure out why it is not using the include folder