1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-21 19:33:03 +04:00

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:
Igor Murzov
2020-02-06 18:04:09 +03:00
parent 6d75be03f9
commit 981e63d8c2
+1 -1
View File
@@ -45,7 +45,7 @@ if(INSTALL_PYTHON_EXAMPLES)
add_subdirectory(python)
endif()
ocv_install_example_src("." CMakeLists.txt)
ocv_install_example_src("." CMakeLists.txt samples_utils.cmake)
if(INSTALL_C_EXAMPLES)
install(DIRECTORY data DESTINATION "${OPENCV_SAMPLES_SRC_INSTALL_PATH}" COMPONENT samples_data)
endif()