summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/CMakeLists.txt b/include/CMakeLists.txt
new file mode 100644
index 0000000..5594349
--- /dev/null
+++ b/include/CMakeLists.txt
@@ -0,0 +1,6 @@
+include(GNUInstallDirs)
+
+# The trailing / is important.
+install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/"
+ DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/${PROJECT_NAME}"
+ FILES_MATCHING PATTERN "*.hpp")