mirror of
https://git.proxmox.com/git/libgit2
synced 2026-01-28 06:35:20 +00:00
Add CTest support for CI
This commit is contained in:
parent
737406b7ab
commit
f64586fab6
@ -92,4 +92,7 @@ IF (BUILD_TESTS)
|
||||
|
||||
ADD_EXECUTABLE(libgit2_test tests/test_main.c tests/test_lib.c tests/test_helpers.c ${SRC} ${SRC_PLAT} ${SRC_SHA1} ${SRC_TEST} ${SRC_ZLIB})
|
||||
TARGET_LINK_LIBRARIES(libgit2_test ${CMAKE_THREAD_LIBS_INIT})
|
||||
|
||||
ENABLE_TESTING()
|
||||
ADD_TEST(libgit2_test libgit2_test)
|
||||
ENDIF ()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user