Skip to content

Commit 90ecb56

Browse files
committed
Revert "Add and build mimalloc at 07c..."
This reverts commit cbac182 Removing the `mimalloc` dependency will make it easier to build Windows XP (maybe even 2000) compatible versions of SolveSpace.
1 parent 2b820c3 commit 90ecb56

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

src/CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,12 @@ target_include_directories(slvs_deps SYSTEM INTERFACE
2828
${ZLIB_INCLUDE_DIR}
2929
${PNG_PNG_INCLUDE_DIR}
3030
${FREETYPE_INCLUDE_DIRS}
31-
${MIMALLOC_INCLUDE_DIR}
3231
${EIGEN3_INCLUDE_DIRS})
3332
target_link_libraries(slvs_deps INTERFACE
3433
dxfrw
3534
${ZLIB_LIBRARY}
3635
${PNG_LIBRARY}
37-
${FREETYPE_LIBRARY}
38-
mimalloc-static)
36+
${FREETYPE_LIBRARY})
3937

4038
if(NOT USE_QT_GUI OR ENABLE_CLI)
4139
target_include_directories(slvs_deps SYSTEM INTERFACE ${CAIRO_INCLUDE_DIRS})

src/slvs/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ add_library(slvs-interface INTERFACE)
55
target_sources(slvs-interface INTERFACE lib.cpp)
66
target_compile_definitions(slvs-interface INTERFACE -DLIBRARY)
77
target_include_directories(slvs-interface INTERFACE ${CMAKE_SOURCE_DIR}/include)
8-
target_link_libraries(slvs-interface INTERFACE slvs-solver mimalloc-static)
8+
target_link_libraries(slvs-interface INTERFACE slvs-solver)
99

1010
if(ENABLE_PYTHON_LIB)
1111
add_custom_command(

0 commit comments

Comments
 (0)