Skip to content

Commit

Permalink
xxx
Browse files Browse the repository at this point in the history
  • Loading branch information
ligurio committed Dec 18, 2024
1 parent eb81a2c commit 9dcecae
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions tests/capi/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,13 @@ target_link_libraries(
>
)

# if (CMAKE_BUILD_TYPE STREQUAL "Debug")
# AppendFlags(LDFLAGS ${CMAKE_C_FLAGS_DEBUG})
# endif()
if (NOT LDFLAGS)
set(LDFLAGS)
endif()

if (CMAKE_BUILD_TYPE STREQUAL "Debug")
AppendFlags(LDFLAGS ${CMAKE_C_FLAGS_DEBUG})
endif()

if (ENABLE_ASAN)
AppendFlags(LDFLAGS -fsanitize=address)
Expand Down

0 comments on commit 9dcecae

Please sign in to comment.