mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-14 13:02:39 -07:00
CMake build system: Always use the system libexpat on Linux.
This commit is contained in:
@@ -186,7 +186,8 @@ endif ()
|
||||
include_directories(${EIGEN3_INCLUDE_DIR})
|
||||
|
||||
# Find expat or use bundled version
|
||||
if (NOT SLIC3R_STATIC)
|
||||
# Always use the system libexpat on Linux.
|
||||
if (NOT SLIC3R_STATIC OR CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||
find_package(EXPAT)
|
||||
endif ()
|
||||
if (NOT EXPAT_FOUND)
|
||||
|
||||
Reference in New Issue
Block a user