Skip to content

Commit

Permalink
Removed fsanitize=adress compilation option
Browse files Browse the repository at this point in the history
  • Loading branch information
bialger committed Jan 18, 2024
1 parent 447205d commit 4991ea5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ if(NOT CMAKE_BUILD_TYPE)
endif()

if (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
set(CMAKE_CXX_FLAGS_DEBUG "/MDd /fsanitize=address")
set(CMAKE_CXX_FLAGS_DEBUG "/MDd")
set(CMAKE_CXX_FLAGS_RELEASE "/O2")
else ()
set(CMAKE_CXX_FLAGS_DEBUG "-g -fsanitize=address")
set(CMAKE_CXX_FLAGS_DEBUG "-g")
set(CMAKE_CXX_FLAGS_RELEASE "-O3")
endif()

Expand Down

0 comments on commit 4991ea5

Please sign in to comment.