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)