Поиск проверщиков

This commit is contained in:
Andrei Astafev 2019-07-02 10:43:17 +03:00
parent dcfc5e9e03
commit 38d9326ce8

View File

@ -2,6 +2,7 @@ if(IS_DIRECTORY "${CMLIB_MODULE_DIR}")
set(CMLIB_SANITIZERS_DIR "${CMLIB_MODULE_DIR}/thirdparty/sanitizers/cmake") set(CMLIB_SANITIZERS_DIR "${CMLIB_MODULE_DIR}/thirdparty/sanitizers/cmake")
if(IS_DIRECTORY "${CMLIB_SANITIZERS_DIR}") if(IS_DIRECTORY "${CMLIB_SANITIZERS_DIR}")
list(APPEND CMAKE_MODULE_PATH ${CMLIB_SANITIZERS_DIR}) list(APPEND CMAKE_MODULE_PATH ${CMLIB_SANITIZERS_DIR})
find_package(Sanitizers)
else() else()
message(WARNING "Sanitizers submodule not found.") message(WARNING "Sanitizers submodule not found.")
endif() endif()