Skip to content

Commit

Permalink
fix -fsanitize
Browse files Browse the repository at this point in the history
  • Loading branch information
daschuer authored Nov 19, 2024
1 parent b0b12d6 commit 3f7342d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3356,8 +3356,8 @@ if(NOT SANITIZERS STREQUAL "")
message(FATAL_ERROR "Sanitizers are only available on Clang or GCC")
endif()
list(JOIN SANITIZERS "," SANITZERS_JOINED)
target_compile_options(mixxx-lib PUBLIC -=${SANITZERS_JOINED})
target_link_options(mixxx-lib PUBLIC -=${SANITZERS_JOINED})
target_compile_options(mixxx-lib PUBLIC -fsanitize=${SANITZERS_JOINED})
target_link_options(mixxx-lib PUBLIC -fsanitize=${SANITZERS_JOINED})
endif()

# CoreAudio MP3/AAC Decoder
Expand Down

0 comments on commit 3f7342d

Please sign in to comment.