mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-13 03:49:00 +08:00
Try to fix libatomic linkage on raspbian
SPE-1073
This commit is contained in:
parent
6cfad6848f
commit
87f2578ee7
@ -262,10 +262,8 @@ target_link_libraries(libslic3r
|
|||||||
${CMAKE_DL_LIBS}
|
${CMAKE_DL_LIBS}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if (NOT MSVC)
|
||||||
find_library(CXX_ATOMIC_LIBRARY atomic)
|
target_link_libraries(libslic3r atomic) # no cmake magic for this...
|
||||||
if (CXX_ATOMIC_LIBRARY)
|
|
||||||
target_link_libraries(libslic3r ${CXX_ATOMIC_LIBRARY})
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (TARGET OpenVDB::openvdb)
|
if (TARGET OpenVDB::openvdb)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user