diff --git a/hecl/driver/CMakeLists.txt b/hecl/driver/CMakeLists.txt index f9ca60b47..9ed0e6886 100644 --- a/hecl/driver/CMakeLists.txt +++ b/hecl/driver/CMakeLists.txt @@ -11,8 +11,10 @@ add_executable(hecl main.cpp ToolAdd.hpp ToolRemove.hpp ToolSpec.hpp - ../DataSpecRegistry.hpp -) + ../DataSpecRegistry.hpp) +if(COMMAND add_sanitizers) + add_sanitizers(hecl) +endif() if(NOT WIN32) list(APPEND PLAT_LIBS pthread) diff --git a/hecl/extern/boo b/hecl/extern/boo index 2db777eea..cb99c0528 160000 --- a/hecl/extern/boo +++ b/hecl/extern/boo @@ -1 +1 @@ -Subproject commit 2db777eead15d599d774820b8065c8125bfa2907 +Subproject commit cb99c0528464770cf9a70e3cffe9e48d99220d4e diff --git a/hecl/lib/CMakeLists.txt b/hecl/lib/CMakeLists.txt index 3445b05f2..f3cd31dff 100644 --- a/hecl/lib/CMakeLists.txt +++ b/hecl/lib/CMakeLists.txt @@ -64,6 +64,9 @@ add_library(hecl-common atdna_Runtime.cpp atdna_CVar.cpp ${PLAT_SRCS}) +if(COMMAND add_sanitizers) + add_sanitizers(hecl-common) +endif() if(WINDOWS_STORE) set_property(TARGET hecl-common PROPERTY VS_WINRT_COMPONENT TRUE)