I'm testing the unit test framework of OpenCV, as instructed in here: quentin.bonnard.eu/blog/2013/10/16/Using-OpenCV_s_test_framework_with_CMake/.
However, when I want to test the examples the ts
module is not found in my installation:
CMake Error at /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
Could NOT find OpenCV (missing: ts) (found version "3.2.0")
Call Stack (most recent call first):
/usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)
/usr/local/share/OpenCV/OpenCVConfig.cmake:260 (find_package_handle_standard_args)
test/CMakeLists.txt:5 (find_package)
I compile OpenCV myself. I was wondering if there are any options I need to give to cmake
to build or include ts
module on the final libraries. Note that I'm building it with RELEASE
option.