diff --git a/CMakeLists.txt b/CMakeLists.txt index bc53f083da..1a4622157f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1224,6 +1224,11 @@ if(BUILD_PACKAGE) DESTINATION "." COMPONENT main ) + install(FILES + "include/CMakeLists.txt" + DESTINATION "include/" + COMPONENT src + ) if(CMAKE_INSTALL_DEBUG_LIBRARIES) foreach(m calib3d core contrib features2d ffmpeg flann gpu highgui imgproc legacy ml objdetect video)