Skip to content

Commit

Permalink
works better without the "-D"
Browse files Browse the repository at this point in the history
  • Loading branch information
graebm committed Aug 31, 2023
1 parent fb2f4a5 commit b72c3df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/AwsCFlags.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ function(aws_set_common_properties target)
list(APPEND AWS_C_DEFINES_PRIVATE -DHAVE_SYSCONF)
endif()

list(APPEND AWS_C_DEFINES_PRIVATE $<$<CONFIG:Debug>:-DDEBUG_BUILD>)
list(APPEND AWS_C_DEFINES_PRIVATE $<$<CONFIG:Debug>:DEBUG_BUILD>)

if ((NOT SET_PROPERTIES_NO_LTO) AND AWS_ENABLE_LTO)
# enable except in Debug builds
Expand Down

0 comments on commit b72c3df

Please sign in to comment.