File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -724,13 +724,11 @@ if (MI_BUILD_TESTS)
724
724
if (MI_BUILD_SHARED AND NOT (MI_TRACK_ASAN OR MI_DEBUG_TSAN OR MI_DEBUG_UBSAN ))
725
725
add_executable (mimalloc-test-stress-dynamic test /test-stress.c )
726
726
target_compile_definitions (mimalloc-test-stress-dynamic PRIVATE ${mi_defines} "USE_STD_MALLOC=1" )
727
- if (WIN32 )
728
- target_compile_definitions (mimalloc-test-stress-dynamic PRIVATE "MI_LINK_VERSION=1" )
729
- endif ()
730
727
target_compile_options (mimalloc-test-stress-dynamic PRIVATE ${mi_cflags} )
731
728
target_include_directories (mimalloc-test-stress-dynamic PRIVATE include )
732
729
if (WIN32 )
733
- target_link_libraries (mimalloc-test-stress-dynamic PRIVATE mimalloc ${mi_libraries} ) # mi_version
730
+ target_compile_definitions (mimalloc-test-stress-dynamic PRIVATE "MI_LINK_VERSION=1" ) # link mi_version
731
+ target_link_libraries (mimalloc-test-stress-dynamic PRIVATE mimalloc ${mi_libraries} ) # link mi_version
734
732
add_test (NAME test -stress-dynamic COMMAND ${CMAKE_COMMAND} -E env MIMALLOC_VERBOSE=1 $< TARGET_FILE:mimalloc-test-stress-dynamic> )
735
733
else ()
736
734
if (APPLE )
You can’t perform that action at this time.
0 commit comments