1
0
mirror of synced 2024-11-24 15:50:16 +01:00

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

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")