mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2026-11-25 13:11:36 +00:00
build!: require CMake 3.25
- Raise the minimum from 3.15 to 3.25 and the policy range to 3.31 - Remove the 3.22 version guards for ENVIRONMENT_MODIFICATION - Link the GoogleTest target GTest::gtest, which FindGTest and the GoogleTest package config both provide Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -15,7 +15,7 @@ set(transports "zeromq" "shmem")
|
||||
# Environment for every example test (directory scope, so the subdirectories
|
||||
# see it too)
|
||||
set(env_mods)
|
||||
if(ENABLE_SANITIZER_LEAK AND CMAKE_VERSION VERSION_GREATER_EQUAL 3.22)
|
||||
if(ENABLE_SANITIZER_LEAK)
|
||||
get_filename_component(lsan_supps "${CMAKE_SOURCE_DIR}/test/leak_sanitizer_suppressions.txt" ABSOLUTE)
|
||||
list(APPEND env_mods "LSAN_OPTIONS=set:suppressions=${lsan_supps}")
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user