Skip to content

Commit fb0b455

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 38f4a87 commit fb0b455

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,13 @@ target_include_directories(slvs_deps SYSTEM INTERFACE
2323
${PNG_PNG_INCLUDE_DIR}
2424
${FREETYPE_INCLUDE_DIRS}
2525
${CAIRO_INCLUDE_DIRS}
26-
${MIMALLOC_INCLUDE_DIR}
2726
${EIGEN3_INCLUDE_DIRS})
2827
target_link_libraries(slvs_deps INTERFACE
2928
dxfrw
3029
${ZLIB_LIBRARY}
3130
${PNG_LIBRARY}
3231
${FREETYPE_LIBRARY}
33-
${CAIRO_LIBRARIES}
34-
mimalloc-static)
32+
${CAIRO_LIBRARIES})
3533

3634
if(Backtrace_FOUND)
3735
target_include_directories(slvs_deps SYSTEM INTERFACE

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)