Install all CMake files required to build samples
CMakeLists.txt includes samples_utils.cmake, so the later should be installed as well to make samples build successfully
This commit is contained in:
parent
6d75be03f9
commit
981e63d8c2
@ -45,7 +45,7 @@ if(INSTALL_PYTHON_EXAMPLES)
|
|||||||
add_subdirectory(python)
|
add_subdirectory(python)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
ocv_install_example_src("." CMakeLists.txt)
|
ocv_install_example_src("." CMakeLists.txt samples_utils.cmake)
|
||||||
if(INSTALL_C_EXAMPLES)
|
if(INSTALL_C_EXAMPLES)
|
||||||
install(DIRECTORY data DESTINATION "${OPENCV_SAMPLES_SRC_INSTALL_PATH}" COMPONENT samples_data)
|
install(DIRECTORY data DESTINATION "${OPENCV_SAMPLES_SRC_INSTALL_PATH}" COMPONENT samples_data)
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user