Skip to content

Commit c2b3b60

Browse files
Update cargs dependency to v1.2.0 (#135)
This patch updates cargs dependency to v1.2.0 and removes the custom command to patch CMakeLists.txt Signed-off-by: Michael Rizkalla <michael.rizkalla@arm.com>
1 parent 21c1fe5 commit c2b3b60

2 files changed

Lines changed: 2 additions & 95 deletions

File tree

cmake/Dependencies/cargs/CMakeLists.txt

Lines changed: 0 additions & 92 deletions
This file was deleted.

cmake/Dependencies/cargs/cargs.cmake

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ if(NOT (cargs_FOUND OR TARGET cargs))
1616
FetchContent_Declare(
1717
cargs-external
1818
GIT_REPOSITORY https://github.com/likle/cargs.git
19-
GIT_TAG v1.0.1 # 70173e67a1b7da9f0f37f6bb3ac50e0cefc29558
20-
PATCH_COMMAND ${CMAKE_COMMAND} -E copy "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" "${CMAKE_CURRENT_BINARY_DIR}/_deps/cargs-external-src/CMakeLists.txt"
19+
GIT_TAG v1.2.0 # 0fbac1a0c6ebb7ecd72f0d7ae89c2b79eb3a12eb
2120
)
2221
FetchContent_MakeAvailable(cargs-external)
2322
set_target_properties(cargs
@@ -27,4 +26,4 @@ if(NOT (cargs_FOUND OR TARGET cargs))
2726
INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}"
2827
FOLDER "Dependencies"
2928
)
30-
endif()
29+
endif()

0 commit comments

Comments
 (0)