summaryrefslogtreecommitdiffstats
path: root/functions.cmake
diff options
context:
space:
mode:
authorArnstein Ressem <aressem@yahoo-inc.com>2016-07-26 14:36:22 +0200
committerArnstein Ressem <aressem@yahoo-inc.com>2016-07-26 14:36:22 +0200
commit6e29b3eef4776ff802d7b3f863a3ea076bbd7b49 (patch)
tree87660f471e6bc1eae78c4ee04d287b57168d9708 /functions.cmake
parentc5779f5b7ee954c85c26656b4775f6b0b0142add (diff)
Added pattern to include hpp files in make install.
Diffstat (limited to 'functions.cmake')
-rw-r--r--functions.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.cmake b/functions.cmake
index 362e029ea32..fed07cf56d7 100644
--- a/functions.cmake
+++ b/functions.cmake
@@ -205,7 +205,7 @@ function(__install_header_files)
if (${SECOND_ELEMENT} STREQUAL "vespa" AND ${THIRD_ELEMENT} STREQUAL "src")
# Preserve the name */src/vespa/<name> as not every module has <name>=module name (e.g. vespalog)
get_filename_component(RELATIVE_TO ${CMAKE_CURRENT_SOURCE_DIR} DIRECTORY)
- file(GLOB_RECURSE HEADERS RELATIVE ${RELATIVE_TO} "*.h")
+ file(GLOB_RECURSE HEADERS RELATIVE ${RELATIVE_TO} "*.h" "*.hpp")
foreach(HEADER ${HEADERS})
get_filename_component(RELDIR ${HEADER} DIRECTORY)
install(FILES ${RELATIVE_TO}/${HEADER} DESTINATION include/vespa/${RELDIR})