mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-10-11 14:22:54 +02:00
Try to fix libatomic linkage on raspbian
This commit is contained in:
1 parent
d8f2c8cdab
commit
ce34ae4716
1 file changed
+6
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user