Skip to content

Commit 7a4843f

Browse files
committed
tests: Apply patch in cmake/modules/FindCMock.cmake
This change is temporary and may be removed on s2 refactoring Relate-to: SiliconLabsSoftware/z-wave-protocol-controller#56 Relate-to: SiliconLabsSoftware/z-wave-protocol-controller#60 Relate-to: SiliconLabsSoftware/z-wave-engine-application-layer#6 Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
1 parent d251513 commit 7a4843f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cmake/modules/FindCMock.cmake

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ FetchContent_Declare(
3434

3535
# Prevent "fatal: unable to auto-detect email address"
3636
GIT_CONFIG user.email=nobody@${CMAKE_PROJECT_NAME}.localhost
37+
38+
PATCH_COMMAND ${GIT_EXECUTABLE}
39+
-C <SOURCE_DIR>
40+
am
41+
${PROJECT_SOURCE_DIR}/patches/cmock/0001-Added-array_as_byte-config-options.patch
3742
)
3843

3944
message(STATUS "${CMAKE_PROJECT_NAME}: Depends: ${CMOCK_GIT_REPOSITORY}#${CMOCK_GIT_TAG}")

0 commit comments

Comments
 (0)