build: Try fixing file copying on runner

This commit is contained in:
WerWolv 2021-09-11 14:58:49 +02:00
parent 8396e40fa0
commit bdd4854b0d
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ set(LIBYARA_MODULES
# Add mbedtls crypto wrappers
add_custom_command(
OUTPUT ${LIBYARA_SOURCE_PATH}/crypto.h
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/crypto_mbedtls.h ${LIBYARA_SOURCE_PATH}/crypto.h
COMMAND ${CMAKE_COMMAND} -E copy_if_different ${CMAKE_CURRENT_SOURCE_DIR}/crypto_mbedtls.h ${LIBYARA_SOURCE_PATH}/crypto.h
MAIN_DEPENDENCY ${CMAKE_CURRENT_SOURCE_DIR}/crypto_mbedtls.h)
add_compile_definitions("HAVE_MBEDTLS")