The CMakeLists.txt currently unprefixed variables like SECURE or OVERRIDE. This can be messy and problematic when mimalloc is added to a project via add_subdirectory. Library projects like this ideally should use prefixed variables, e.g. MIMALLOC_SECURE rather than SECURE, so that amalgamations of multiple third-party dependencies used in larger monolithic projects don't end up with name conflicts or messy configuration pages.
The
CMakeLists.txtcurrently unprefixed variables likeSECUREorOVERRIDE. This can be messy and problematic when mimalloc is added to a project viaadd_subdirectory. Library projects like this ideally should use prefixed variables, e.g.MIMALLOC_SECURErather thanSECURE, so that amalgamations of multiple third-party dependencies used in larger monolithic projects don't end up with name conflicts or messy configuration pages.