File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -303,7 +303,7 @@ find_package(GSL 2.2.1 REQUIRED)
303303find_package (HDF5 1.8.15 REQUIRED)
304304find_package (Jama 125 REQUIRED)
305305find_package (NN REQUIRED)
306- find_package (OpenCV 3.1 .0 REQUIRED)
306+ find_package (OpenCV 4.9 .0 REQUIRED CONFIG )
307307find_package (PCL REQUIRED)
308308find_package (Protobuf REQUIRED CONFIG)
309309find_package (PROJ REQUIRED)
@@ -391,6 +391,8 @@ endforeach()
391391# add target based linkages to ALLLIBS variable
392392list (APPEND ALLLIBS pantor::inja sensorutilities protobuf::libprotobuf embree GDAL::GDAL Bullet::Bullet_double)
393393
394+ list (APPEND ALLINCDIRS ${OpenCV_INCLUDE_DIRS} )
395+
394396# Sometimes we add the same lib more than once (especially with LIBDIRS)
395397list (REMOVE_DUPLICATES ALLLIBDIRS)
396398list (REMOVE_DUPLICATES ALLLIBS)
You can’t perform that action at this time.
0 commit comments