Skip to content

Commit 660d832

Browse files
committed
Fix cmake build
1 parent 6c72535 commit 660d832

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ project(wolfBoot)
4545
include(cmake/utils.cmake)
4646
include(cmake/functions.cmake)
4747

48+
include_directories(include)
49+
include_directories(lib/wolfssl)
50+
4851
if(NOT DEFINED WOLFBOOT_TARGET)
4952
message(FATAL_ERROR "WOLFBOOT_TARGET must be defined")
5053
else()
@@ -620,6 +623,8 @@ if(NOT SPMATH AND NOT SPMATHALL)
620623
list(APPEND USER_SETTINGS USE_FAST_MATH)
621624
endif()
622625

626+
list(APPEND WOLFBOOT_DEFS WOLFSSL_USER_SETTINGS)
627+
623628
add_library(user_settings INTERFACE)
624629
target_compile_definitions(user_settings INTERFACE ${USER_SETTINGS} ${SIGN_OPTIONS})
625630

0 commit comments

Comments
 (0)