We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 26b792d + 34cc5c8 commit 246b3bcCopy full SHA for 246b3bc
CMakeLists.txt
@@ -594,6 +594,9 @@ if(MI_BUILD_SHARED)
594
# install(FILES "$<TARGET_FILE_DIR:mimalloc>/${mi_libname}.dll.pdb" DESTINATION ${CMAKE_INSTALL_LIBDIR})
595
endif()
596
if(WIN32 AND MI_WIN_REDIRECT)
597
+ if(MINGW)
598
+ set_property(TARGET mimalloc PROPERTY PREFIX "")
599
+ endif()
600
# On windows, link and copy the mimalloc redirection dll too.
601
if(CMAKE_GENERATOR_PLATFORM STREQUAL "arm64ec")
602
set(MIMALLOC_REDIRECT_SUFFIX "-arm64ec")
0 commit comments