mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-04 04:24:04 -06:00
fix some building issues under linux
Change-Id: I787024a74e15ef3904dcffe233e4387bdfc139b3
This commit is contained in:
parent
5f1138f022
commit
5b7cf54cf5
3 changed files with 23 additions and 7 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue