mirror of
https://git.proxmox.com/git/libgit2
synced 2025-10-14 21:18:54 +00:00
Proper submodule dependency
This commit is contained in:
parent
6443eaf22f
commit
ad27838bdc
@ -246,8 +246,8 @@ IF (BUILD_CLAR)
|
||||
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
|
||||
ADD_CUSTOM_TARGET(
|
||||
clar_submodule
|
||||
COMMAND git submodule update --init tests-clar/clar
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
@ -255,7 +255,7 @@ IF (BUILD_CLAR)
|
||||
ADD_CUSTOM_COMMAND(
|
||||
OUTPUT ${CLAR_PATH}/clar.suite
|
||||
COMMAND ${PYTHON_EXECUTABLE} clar/generate.py . -xonline
|
||||
DEPENDS ${SRC_TEST}
|
||||
DEPENDS clar_submodule ${SRC_TEST}
|
||||
WORKING_DIRECTORY ${CLAR_PATH}
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user