Skip to content

Commit

Permalink
cmake: fix parsing WOLFSSL_DEFINITIONS
Browse files Browse the repository at this point in the history
  • Loading branch information
oltolm committed Aug 5, 2024
1 parent 039853c commit ea307c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2335,7 +2335,7 @@ endif()

foreach(DEF IN LISTS WOLFSSL_DEFINITIONS)
string(REGEX MATCH "^(-D)?([^=]+)(=(.*))?$" DEF_MATCH ${DEF})
if (DEFINED CMAKE_MATCH_4)
if (NOT "${CMAKE_MATCH_4}" STREQUAL "")
set(${CMAKE_MATCH_2} ${CMAKE_MATCH_4})
# message("set(${CMAKE_MATCH_2} ${CMAKE_MATCH_4})")
else()
Expand Down

0 comments on commit ea307c7

Please sign in to comment.