Commit 4867523e60e18639637b5f4f8a787386f86d10d2

Etienne Samson 2019-11-06T11:08:15

examples: add *.h files to IDEs

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
index 05e344d..8cc72b3 100644
--- a/examples/CMakeLists.txt
+++ b/examples/CMakeLists.txt
@@ -1,7 +1,7 @@
 INCLUDE_DIRECTORIES(${LIBGIT2_INCLUDES})
 INCLUDE_DIRECTORIES(SYSTEM ${LIBGIT2_SYSTEM_INCLUDES})
 
-FILE(GLOB LG2_SOURCES *.c)
+FILE(GLOB LG2_SOURCES *.c *.h)
 ADD_EXECUTABLE(lg2 ${LG2_SOURCES})
 SET_TARGET_PROPERTIES(lg2 PROPERTIES C_STANDARD 90)