First time here? Check out the FAQ!
answered 2018-12-01 19:26:32 -0600
it's not a cmake problem, the old c-api based, CV_ enums were replaced by cv:: ones in opencv3, and opencv4 removed the old ones entirely.
CV_
cv::
you have to use cv::NORM_L2 instead.
cv::NORM_L2