We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 403c2b1 commit 8d47c19Copy full SHA for 8d47c19
1 file changed
CMakeLists.txt
@@ -52,7 +52,7 @@ function(tiny_engine_configure_target TARGET_NAME)
52
target_include_directories(${TARGET_NAME} PUBLIC include)
53
54
# Enable ASan.
55
- if(NOT IS_RELEASE_BUILD AND NOT MSVC)
+ if(NOT IS_RELEASE_BUILD AND NOT MSVC AND NOT CMAKE_SIZEOF_VOID_P EQUAL 4)
56
message(STATUS "${TARGET_NAME}: Address sanitizer is enabled.")
57
target_compile_definitions(${TARGET_NAME} PRIVATE ENGINE_ASAN_ENABLED)
58
target_compile_options(${TARGET_NAME} PRIVATE -fno-omit-frame-pointer)
0 commit comments