summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rw-r--r--contrib/CMakeLists.txt10
1 files changed, 10 insertions, 0 deletions
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)