summaryrefslogtreecommitdiff
path: root/examples/CMakeLists.txt
diff options
context:
space:
mode:
authorEtienne Samson <samson.etienne@gmail.com>2018-01-17 02:25:36 +0100
committerEtienne Samson <samson.etienne@gmail.com>2018-01-25 22:11:19 +0100
commitb67200186fe65cfeb2d87a3c408186ae1d17b091 (patch)
treefa4369feee56942b1a7cfa014b1aba774dd81bc8 /examples/CMakeLists.txt
parent45f584090818c59ba27ca95b1e930a41c424d6f1 (diff)
downloadlibgit2-b67200186fe65cfeb2d87a3c408186ae1d17b091.tar.gz
examples: Switch to the nifty argv helpers from common
Diffstat (limited to 'examples/CMakeLists.txt')
-rw-r--r--examples/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
index a6f26c7a6..99e2ba9c1 100644
--- a/examples/CMakeLists.txt
+++ b/examples/CMakeLists.txt
@@ -1,7 +1,7 @@
LINK_DIRECTORIES(${LIBGIT2_LIBDIRS})
INCLUDE_DIRECTORIES(${LIBGIT2_INCLUDES})
-FILE(GLOB_RECURSE SRC_EXAMPLE_GIT2 network/*.c network/*.h)
+FILE(GLOB_RECURSE SRC_EXAMPLE_GIT2 network/*.c network/*.h common.?)
ADD_EXECUTABLE(cgit2 ${SRC_EXAMPLE_GIT2})
IF(WIN32 OR ANDROID)
TARGET_LINK_LIBRARIES(cgit2 git2)