mirror of
https://github.com/zhenyan121/Cubed.git
synced 2026-06-17 16:17:02 +08:00
fix: data race in world::init_world()
This commit is contained in:
@@ -107,12 +107,14 @@ if(CMAKE_BUILD_TYPE STREQUAL "Debug")
|
||||
|
||||
target_compile_options(${PROJECT_NAME} PRIVATE
|
||||
-fsanitize=address
|
||||
#-fsanitize=thread
|
||||
-fno-omit-frame-pointer
|
||||
-g
|
||||
)
|
||||
|
||||
target_link_options(${PROJECT_NAME} PRIVATE
|
||||
-fsanitize=address
|
||||
#-fsanitize=thread
|
||||
)
|
||||
|
||||
target_compile_definitions(${PROJECT_NAME} PRIVATE DEBUG_MODE)
|
||||
|
||||
Reference in New Issue
Block a user