diff --git a/CMakeLists.txt b/CMakeLists.txt index 86cd76d..17364d6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -119,6 +119,7 @@ include(GNUInstallDirs) install(DIRECTORY include/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} + FILES_MATCHING PATTERN "*.hpp" ) install(TARGETS geo_utils_cpp EXPORT GeoUtilsCppTargets diff --git a/meson.build b/meson.build index 9ceed39..9e36ffd 100644 --- a/meson.build +++ b/meson.build @@ -28,6 +28,7 @@ meson.override_dependency('geo-utils-cpp', geo_utils_cpp_dep) install_subdir( 'include/geo', install_dir: get_option('includedir'), + exclude_files: ['buildfile'], ) # Build the example only when standalone (or explicitly asked), so downstream