Skip to content

Commit

Permalink
fix: disable cmake sanitizer inclusion as it breaks the feature_summa…
Browse files Browse the repository at this point in the history
…ry function

Hopefully this will be fixed in arsenm/sanitizers-cmake#18
  • Loading branch information
azubieta committed Dec 1, 2021
1 parent 1b97acc commit 1f3046a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1f3046a

Please sign in to comment.