Skip to content

Commit 2307b36

Browse files
authored
Merge pull request #6296 from JacobBarthelmeh/RT1170
fix for creating options.h with cmake and WOLFSSL_USER_SETTINGS
2 parents 419a1f0 + 1889549 commit 2307b36

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1821,8 +1821,8 @@ generate_build_flags()
18211821
# USER SETTINGS
18221822
if(WOLFSSL_USER_SETTINGS)
18231823
# Replace all options and just use WOLFSSL_USER_SETTINGS
1824-
set(WOLFSSL_DEFINITIONS "-DWOLFSSL_USER_SETTINGS
1825-
-DWOLFSSL_USER_SETTINGS_ASM")
1824+
set(WOLFSSL_DEFINITIONS "-DWOLFSSL_USER_SETTINGS")
1825+
list(APPEND WOLFSSL_DEFINITIONS "-DWOLFSSL_USER_SETTINGS_ASM")
18261826

18271827
# Create user_settings_asm.h for use in assembly files (e.g. .S files).
18281828
execute_process(COMMAND $ENV{SHELL} ${CMAKE_CURRENT_SOURCE_DIR}/scripts/user_settings_asm.sh

0 commit comments

Comments
 (0)