From 20b2ff19588be983ae75f3f1e243b2fd2380872d Mon Sep 17 00:00:00 2001 From: Juan Ramos Date: Thu, 2 Nov 2023 12:23:23 -0600 Subject: Cleanup ENABLE_ADDRESS_SANITIZER Easier to manage and fixes MSVC ASAN --- tests/CMakeLists.txt | 5 ----- 1 file changed, 5 deletions(-) (limited to 'tests') diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 8d299ee5..1838261a 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -67,11 +67,6 @@ if (DEFINED GIT_BRANCH_NAME AND DEFINED GIT_TAG_INFO) target_compile_definitions(vulkan_tools_tests PRIVATE GIT_BRANCH_NAME="${GIT_BRANCH_NAME}" GIT_TAG_INFO="${GIT_TAG_INFO}") endif() -if (ENABLE_ADDRESS_SANITIZER) - target_compile_options(vulkan_tools_tests PUBLIC -fsanitize=address) - target_link_options(vulkan_tools_tests PUBLIC -fsanitize=address) -endif () - if (WIN32) # Copy the loader shared lib (if built) to the test application directory so the test app finds it. add_custom_command(TARGET vulkan_tools_tests POST_BUILD -- cgit v1.2.3