Skip to content

Commit 5234879

Browse files
committed
glob: don't glob the headers
Globbing does not help the build system - it does not know the files. The glob is only performed at configure time, anything done after that is not reflected in the build system. Just simply ignore the header changes as it is pointless. Let the header scan capture the dependencies if needed.
1 parent 4fe1fd6 commit 5234879

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
set(LIBRARY "libcmark-gfm")
22
set(STATICLIBRARY "libcmark-gfm_static")
3-
file(GLOB HEADERS include/*.h)
43
set(LIBRARY_SOURCES
54
cmark.c
65
node.c
@@ -30,7 +29,6 @@ set(LIBRARY_SOURCES
3029
syntax_extension.c
3130
registry.c
3231
plugin.c
33-
${HEADERS}
3432
)
3533

3634
set(PROGRAM "cmark-gfm")

0 commit comments

Comments
 (0)