summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2013-01-02 22:38:10 +0100
committerVicent Marti <tanoku@gmail.com>2013-01-02 22:38:10 +0100
commit39cd01779c84e0574c11f2e804f28c815e82a583 (patch)
tree46e5ced7b8ca3d62ebb09bf46a3bb9287f3e76c2 /CMakeLists.txt
parenta44f2e9e7b2dbcdf51564453475ec9a684cf7f75 (diff)
downloadlibgit2-39cd01779c84e0574c11f2e804f28c815e82a583.tar.gz
This is a better name
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2f5c559e6..188678ca0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -243,12 +243,13 @@ IF (BUILD_CLAR)
INCLUDE_DIRECTORIES(${CLAR_PATH})
FILE(GLOB_RECURSE SRC_TEST ${CLAR_PATH}/*/*.c)
- SET(SRC_CLAR "${CLAR_PATH}/main.c" "${CLAR_PATH}/clar_helpers.c" "${CLAR_PATH}/clar/clar.c")
+ SET(SRC_CLAR "${CLAR_PATH}/main.c" "${CLAR_PATH}/clar_libgit2.c" "${CLAR_PATH}/clar/clar.c")
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-missing-prototypes")
ADD_CUSTOM_COMMAND(
OUTPUT ${CLAR_PATH}/clar/clar.c
COMMAND git submodule update --init tests-clar/clar
+ WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
)
ADD_CUSTOM_COMMAND(