Skip to content

Commit 3f4b311

Browse files
authored
Don't install .clang-format alongside headers (#5762)
1 parent b377867 commit 3f4b311

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

CMakeLists.txt

+10-2
Original file line numberDiff line numberDiff line change
@@ -334,8 +334,16 @@ install(
334334
COMPONENT metadata
335335
EXCLUDE_FROM_ALL
336336
)
337-
install(DIRECTORY "${slang_SOURCE_DIR}/docs/" DESTINATION share/doc/slang)
338-
install(DIRECTORY "${slang_SOURCE_DIR}/include" DESTINATION .)
337+
install(
338+
DIRECTORY "${slang_SOURCE_DIR}/docs/"
339+
DESTINATION share/doc/slang
340+
PATTERN ".*" EXCLUDE
341+
)
342+
install(
343+
DIRECTORY "${slang_SOURCE_DIR}/include"
344+
DESTINATION .
345+
PATTERN ".*" EXCLUDE
346+
)
339347

340348
include(CPack)
341349

0 commit comments

Comments
 (0)