From 67d235a17e62c0c7bf47e08bc31e5455664bc837 Mon Sep 17 00:00:00 2001 From: James Turner <james@flightgear.org> Date: Sat, 20 Feb 2021 19:57:56 +0000 Subject: [PATCH] Add a CMake message when ASan is enabled --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index d66c2aee1..1d70fff9e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -397,6 +397,7 @@ endif() # ASan is enabled in SimGear's configuration, in case you are # wondering why there is no option() for it above. if (ENABLE_ASAN) + message(STATUS "ASan enabled in SimGear, using for FlightGear as well") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsanitize=address") set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -fsanitize=address") set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -fsanitize=address")