From 84f3a3b6ab27c6de03e7460a51def508a16a9c6e Mon Sep 17 00:00:00 2001 From: Alexis Hildebrandt Date: Sun, 16 Apr 2023 08:29:14 +0200 Subject: Include contrib files in distribution --- CMakeLists.txt | 1 + contrib/CMakeLists.txt | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 contrib/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index f2848287..c6afcd7b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -321,6 +321,7 @@ endif() add_subdirectory(src) add_subdirectory(doc) +add_subdirectory(contrib) add_subdirectory(test) ######################################################################## diff --git a/contrib/CMakeLists.txt b/contrib/CMakeLists.txt new file mode 100644 index 00000000..75b9b614 --- /dev/null +++ b/contrib/CMakeLists.txt @@ -0,0 +1,10 @@ +include(GNUInstallDirs) + +if(CMAKE_INSTALL_DATAROOTDIR) + + install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}" + DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}" + USE_SOURCE_PERMISSIONS + PATTERN CMakeLists.txt EXCLUDE) + +endif(CMAKE_INSTALL_DATAROOTDIR) -- cgit v1.2.3