summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeScripts/DefineDependsandFlags.cmake3
1 files changed, 0 insertions, 3 deletions
diff --git a/CMakeScripts/DefineDependsandFlags.cmake b/CMakeScripts/DefineDependsandFlags.cmake
index 802117e12..a8bb63276 100644
--- a/CMakeScripts/DefineDependsandFlags.cmake
+++ b/CMakeScripts/DefineDependsandFlags.cmake
@@ -16,9 +16,6 @@ list(APPEND INKSCAPE_INCS ${PROJECT_SOURCE_DIR}
# than compiling with _FORTIFY_SOURCE but has a performance impact (approx. 2x
# slower), so it's not suitable for release builds.
if(WITH_ASAN)
- if(NOT (CMAKE_CXX_COMPILER_ID MATCHES "Clang"))
- message(FATAL_ERROR "Compiler must be Clang for WITH_ASAN=ON")
- endif()
list(APPEND INKSCAPE_CXX_FLAGS "-fsanitize=address -fno-omit-frame-pointer")
list(APPEND INKSCAPE_LIBS "-fsanitize=address")
else()