mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-07-20 04:54:25 -04:00
16 lines
434 B
CMake
16 lines
434 B
CMake
list(APPEND CMAKE_MODULE_PATH "${SRC_DIR}/cmake/modules")
|
|
include(Version)
|
|
|
|
if (NOT ${BOOTLOADER_FILE} STREQUAL "")
|
|
file(MD5 ${BOOTLOADER_FILE} BOOTLOADER_MD5SUM)
|
|
endif()
|
|
if (NOT ${BOOT_FILE} STREQUAL "")
|
|
file(MD5 ${BOOT_FILE} BOOT_MD5SUM)
|
|
endif()
|
|
if (NOT ${UPDATER_FILE} STREQUAL "")
|
|
file(MD5 ${UPDATER_FILE} UPDATER_MD5SUM)
|
|
endif()
|
|
|
|
message("Configuring version.json file")
|
|
configure_file(${SRC_FILE} ${DST_FILE} @ONLY)
|