You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
427 B
16 lines
427 B
include_guard()
|
|
|
|
FetchContent_Declare(
|
|
sanitizer
|
|
GIT_REPOSITORY https://github.com/arsenm/sanitizers-cmake.git
|
|
GIT_TAG 99e159ec9bc8dd362b08d18436bd40ff0648417b
|
|
)
|
|
|
|
FetchContent_GetProperties(sanitizer)
|
|
if(NOT sanitizer_POPULATED)
|
|
FetchContent_Populate(sanitizer)
|
|
set(CMAKE_MODULE_PATH
|
|
"${sanitizer_SOURCE_DIR}/cmake"
|
|
${CMAKE_MODULE_PATH})
|
|
find_package(Sanitizers REQUIRED)
|
|
endif()
|
|
|