From 1f3046a311407488973cef9e481e9331ce96d91d Mon Sep 17 00:00:00 2001 From: Alexis Lopez Zubieta Date: Wed, 1 Dec 2021 16:04:18 -0600 Subject: [PATCH] fix: disable cmake sanitizer inclusion as it breaks the feature_summary function Hopefully this will be fixed in https://github.com/arsenm/sanitizers-cmake/pull/18 --- src/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 5f95882..c4c9edc 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -2,9 +2,9 @@ cmake_minimum_required(VERSION 3.2) set(CMAKE_POSITION_INDEPENDENT_CODE true) -# add support for sanitizers -set(CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/lib/sanitizers-cmake/cmake" ${CMAKE_MODULE_PATH}) -find_package(Sanitizers REQUIRED) +# add support for sanitizers. Partially broken: fix at https://github.com/arsenm/sanitizers-cmake/pull/18 +# set(CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/lib/sanitizers-cmake/cmake" ${CMAKE_MODULE_PATH}) +# find_package(Sanitizers REQUIRED) # required to link to correct thread library find_package(Threads REQUIRED)