summaryrefslogtreecommitdiff
path: root/src/mesh/assimp-master/contrib/draco/cmake/sanitizers.cmake
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2022-04-16 11:55:54 -0500
committersanine <sanine.not@pm.me>2022-04-16 11:55:54 -0500
commit8fb7916a0d0cb007a4c3a4e6a31af58765268ca3 (patch)
tree52b5524a94a5b04e17a1fd7f8aca988ab6d0c75f /src/mesh/assimp-master/contrib/draco/cmake/sanitizers.cmake
parentdb81b925d776103326128bf629cbdda576a223e7 (diff)
delete src/mesh/assimp-master
Diffstat (limited to 'src/mesh/assimp-master/contrib/draco/cmake/sanitizers.cmake')
-rw-r--r--src/mesh/assimp-master/contrib/draco/cmake/sanitizers.cmake19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/mesh/assimp-master/contrib/draco/cmake/sanitizers.cmake b/src/mesh/assimp-master/contrib/draco/cmake/sanitizers.cmake
deleted file mode 100644
index e720bc0..0000000
--- a/src/mesh/assimp-master/contrib/draco/cmake/sanitizers.cmake
+++ /dev/null
@@ -1,19 +0,0 @@
-if(DRACO_CMAKE_SANITIZERS_CMAKE_)
- return()
-endif()
-set(DRACO_CMAKE_SANITIZERS_CMAKE_ 1)
-
-if(MSVC OR NOT SANITIZE)
- return()
-endif()
-
-include("${draco_root}/cmake/compiler_flags.cmake")
-
-string(TOLOWER ${SANITIZE} SANITIZE)
-
-# Require the sanitizer requested.
-require_linker_flag("-fsanitize=${SANITIZE}")
-require_compiler_flag("-fsanitize=${SANITIZE}" YES)
-
-# Make callstacks accurate.
-require_compiler_flag("-fno-omit-frame-pointer -fno-optimize-sibling-calls" YES)