Hi,
i’m trying to build and install an executionable file that uses OpenCV. To build, install and package I use CMake and CPack. Here is my problem:
In the cmake list, i have added the executionable, open cv is found and linked.
find_package(OpenCV REQUIRED)
include_directories(${OpenCV_INCLUDE_DIRS})
add_executable(MyApp src/MyApp.cpp)
target_link_libraries(MyApp ${OpenCV_LIBS})
The project can build, however the shared libraries are not installed. I would love for the build/install folder to look something like this:
bin/
MyApp
lib/
libopencv-calib3d.so
...
Right now only the bin folder is created when I run the installation.
Hope someone can help.
Kind regards
Peter