From a977c03d31fff9ff6acf02d3f77412ad1cf9677f Mon Sep 17 00:00:00 2001 From: Davis King Date: Tue, 10 Jul 2018 07:44:44 -0400 Subject: [PATCH] Include the *_tutorial.txt error files in dlib installs. --- dlib/CMakeLists.txt | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/dlib/CMakeLists.txt b/dlib/CMakeLists.txt index 5893d5032..9f6be2d0b 100644 --- a/dlib/CMakeLists.txt +++ b/dlib/CMakeLists.txt @@ -825,8 +825,21 @@ if (NOT TARGET dlib) ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}) install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dlib - FILES_MATCHING PATTERN "*.h" PATTERN "*.cmake" - REGEX "${CMAKE_CURRENT_BINARY_DIR}" EXCLUDE) + FILES_MATCHING + PATTERN "*.h" + PATTERN "*.cmake" + PATTERN "*_tutorial.txt" + PATTERN "cassert" + PATTERN "cstring" + PATTERN "fstream" + PATTERN "iomanip" + PATTERN "iosfwd" + PATTERN "iostream" + PATTERN "istream" + PATTERN "locale" + PATTERN "ostream" + PATTERN "sstream" + REGEX "${CMAKE_CURRENT_BINARY_DIR}" EXCLUDE) configure_file(${PROJECT_SOURCE_DIR}/config.h.in ${CMAKE_CURRENT_BINARY_DIR}/config.h)