How to cross compile drivework for target device

Please provide the following info (check/uncheck the boxes after creating this topic):
Software Version
DRIVE OS Linux 5.2.6
DRIVE OS Linux 5.2.0
[y] DRIVE OS Linux 5.2.0 and DriveWorks 3.5
NVIDIA DRIVE™ Software 10.0 (Linux)
NVIDIA DRIVE™ Software 9.0 (Linux)
other DRIVE OS version
other

Target Operating System
[y] Linux
QNX
other

Hardware Platform
[y] NVIDIA DRIVE™ AGX Xavier DevKit (E3550)
NVIDIA DRIVE™ AGX Pegasus DevKit (E3550)
other

SDK Manager Version
[y] 1.6.1.8175
1.6.0.8170
other

Host Machine Version
[y] native Ubuntu 18.04
other

In the /usr/local/drivework/, the CMakeLists.txt is for x86. So, how to cross compile it?

Dear @wang_chen2,
Could you check https://docs.nvidia.com/drive/driveworks-3.5/dwx_samples_building_V5L.html

Ok, Thank you very much.