Skip to content

Commit

Permalink
CMake: Exclude empty header dirs from install
Browse files Browse the repository at this point in the history
  • Loading branch information
ferdnyc committed Jun 17, 2022
1 parent 165647a commit 50d635b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/CMakeLists.txt
Expand Up @@ -360,6 +360,9 @@ if (NOT_SUBPROJECT)
"${CMAKE_INSTALL_INCLUDEDIR}"
FILES_MATCHING
PATTERN "*.hpp"
# Avoid installing empty include dirs
PATTERN "benchmark/internal" EXCLUDE
PATTERN "generators/internal" EXCLUDE
)
endif()

Expand Down

0 comments on commit 50d635b

Please sign in to comment.