diff options
-rw-r--r-- | CMakeLists.txt | 1 | ||||
-rw-r--r-- | contrib/CMakeLists.txt | 10 |
2 files changed, 11 insertions, 0 deletions
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) |