mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 18:42:24 +00:00
fix some building issues under linux
Change-Id: I787024a74e15ef3904dcffe233e4387bdfc139b3
This commit is contained in:
@@ -454,10 +454,6 @@ set(OCCT_LIBS
|
||||
TKernel
|
||||
)
|
||||
|
||||
if(APPLE)
|
||||
target_link_libraries(libslic3r freetype)
|
||||
endif()
|
||||
|
||||
|
||||
target_link_libraries(libslic3r
|
||||
libnest2d
|
||||
@@ -480,6 +476,13 @@ target_link_libraries(libslic3r
|
||||
${OCCT_LIBS}
|
||||
)
|
||||
|
||||
if(NOT WIN32)
|
||||
target_link_libraries(libslic3r freetype)
|
||||
if (NOT APPLE)
|
||||
target_link_libraries(libslic3r fontconfig)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if (TARGET OpenVDB::openvdb)
|
||||
target_link_libraries(libslic3r OpenVDB::openvdb)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user