# Inject sanitizer flag as a build requirement
#
macro(add_library TARGET)
  _add_library(${ARGV})

  if("${TARGET}" STREQUAL "concurrencpp")
    target_compile_options(concurrencpp PRIVATE -fsanitize=thread)
  endif()
endmacro()
