Trouble with enabling OpenCV CUDA libraries.

Righto, I’m getting this issue… cv::cuda::getDeviceEnabledCount() == 0

Platform Specifications:
-Jetson TX2
-Ubuntu 16.04
-OpenCV 3.4.2

I have a usr/local/cuda folder. I just reinstalled OpenCV by grabbing the newest release from GitHub, cmaking and then making it.

EDIT:: you gotta set the cmake WITH_CUDA flag in the OG opencv folder.