Add ASan build capability

This commit is contained in:
Jack Andersen 2017-12-11 16:05:54 -10:00
parent 6f7d09ce45
commit 91b88c0568
1 changed files with 3 additions and 0 deletions

View File

@ -87,6 +87,9 @@ add_library(amuse
${SOURCES} ${SOURCES}
${HEADERS} ${HEADERS}
${EXTRAS}) ${EXTRAS})
if(COMMAND add_sanitizers)
add_sanitizers(amuse)
endif()
if(TARGET boo AND NOT WINDOWS_STORE) if(TARGET boo AND NOT WINDOWS_STORE)
# AudioUnit Target (OS X only) # AudioUnit Target (OS X only)