diff --git a/docs/linux/linux-asan-configuration.md b/docs/linux/linux-asan-configuration.md index faabc780fc0..f9a57141351 100644 --- a/docs/linux/linux-asan-configuration.md +++ b/docs/linux/linux-asan-configuration.md @@ -39,6 +39,9 @@ You can pass optional ASan runtime flags by navigating to **Configuration Proper ## Enable ASan for Visual Studio CMake projects +> [!NOTE] +> To build with CMake Presets, first enable ASan in your CMakeLists.txt file. For more information, see [Enable AddressSanitizer for Windows and Linux](../build/cmake-presets-vs.md#enable-addresssanitizer-for-windows-and-linux). + To enable ASan for CMake, right-click on the CMakeLists.txt file in **Solution Explorer** and choose **CMake Settings for Project**. Make sure you have a Linux configuration (for example, **Linux-Debug**) selected in the left pane of the dialog: