summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a21c5d0..e539037 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2,6 +2,10 @@ cmake_minimum_required(VERSION 3.10)
project(iot-contact LANGUAGES NONE)
+set(KEY_DEFAULT "$ENV{HOME}/mcuboot/key.pem")
+set(KEY ${KEY_DEFAULT} CACHE STRING "Firmware signing key path")
+message(STATUS "Firmware signing key path: ${KEY}")
+
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake" ${CMAKE_MODULE_PATH})
add_subdirectory(fw)