mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 05:26:02 +08:00
Try to fix libatomic linkage on raspbian
This commit is contained in:
parent
d8f2c8cdab
commit
ce34ae4716
@ -262,6 +262,12 @@ target_link_libraries(libslic3r
|
||||
${CMAKE_DL_LIBS}
|
||||
)
|
||||
|
||||
|
||||
find_library(CXX_ATOMIC_LIBRARY atomic)
|
||||
if (CXX_ATOMIC_LIBRARY)
|
||||
target_link_libraries(libslic3r ${CXX_ATOMIC_LIBRARY})
|
||||
endif()
|
||||
|
||||
if (TARGET OpenVDB::openvdb)
|
||||
target_link_libraries(libslic3r OpenVDB::openvdb)
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user