diff options
| author | Ellie Hermaszewska <ellieh@nvidia.com> | 2024-12-05 17:10:37 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-05 17:10:37 +0800 |
| commit | 3f4b3112871bb978ee5104fd36321345da35a8d1 (patch) | |
| tree | bf8c0ade8507c7229c126b32923143984bd25b53 | |
| parent | b3778673a5598e46d81acd7f1256962c0288aa73 (diff) | |
Don't install .clang-format alongside headers (#5762)
| -rw-r--r-- | CMakeLists.txt | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 5a53ba731..be874a073 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -334,8 +334,16 @@ install( COMPONENT metadata EXCLUDE_FROM_ALL ) -install(DIRECTORY "${slang_SOURCE_DIR}/docs/" DESTINATION share/doc/slang) -install(DIRECTORY "${slang_SOURCE_DIR}/include" DESTINATION .) +install( + DIRECTORY "${slang_SOURCE_DIR}/docs/" + DESTINATION share/doc/slang + PATTERN ".*" EXCLUDE +) +install( + DIRECTORY "${slang_SOURCE_DIR}/include" + DESTINATION . + PATTERN ".*" EXCLUDE +) include(CPack) |
