File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ target_include_directories(dlms_cryptography SYSTEM INTERFACE $<TARGET_PROPERTY:
5959FetchContent_Populate (
6060 cmake_template
6161 GIT_REPOSITORY https://github.com/cpp-best-practices/cmake_template
62- GIT_TAG 0a32e3ff530534f04d7a73817d563bb26eea1b5a )
62+ GIT_TAG a3971f5b4588a5f57a44317a0f7e29827add13f1 )
6363include (${cmake_template_SOURCE_DIR } /cmake/CompilerWarnings.cmake )
6464include (${cmake_template_SOURCE_DIR } /cmake/Sanitizers.cmake )
6565
@@ -80,14 +80,7 @@ target_link_libraries(dlms_parser PUBLIC dlms_parser_warnings)
8080
8181# enable sanitizers
8282add_library (dlms_parser_sanitizers INTERFACE )
83- if (APPLE )
84- # Leak sanitizer is not supported on Macos:
85- # clang++: error: unsupported option '-fsanitize=leak' for target 'arm64-apple-darwin24.6.0'
86- set (ENABLE_SANITIZER_LEAK OFF )
87- else ()
88- set (ENABLE_SANITIZER_LEAK ON )
89- endif ()
90- myproject_enable_sanitizers (dlms_parser_sanitizers ON ${ENABLE_SANITIZER_LEAK} ON OFF OFF )
83+ myproject_enable_sanitizers (dlms_parser_sanitizers ON ON ON OFF OFF )
9184target_link_libraries (dlms_parser PUBLIC dlms_parser_sanitizers )
9285if (MSVC )
9386 cmake_path (GET CMAKE_CXX_COMPILER PARENT_PATH MSVC_TOOLS_DIR )
You can’t perform that action at this time.
0 commit comments