vtk: link against libatomic where needed
This commit is contained in:
parent
497d0c5bdb
commit
94ee1edd1d
|
@ -26,6 +26,17 @@ if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
|||
LDFLAGS="-lexecinfo"
|
||||
fi
|
||||
|
||||
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||
makedepends+=" libatomic-devel"
|
||||
fi
|
||||
|
||||
post_extract() {
|
||||
[ "$XBPS_TARGET_NO_ATOMIC8" ] || return 0
|
||||
|
||||
echo "vtk_module_link(VTK::CommonDataModel PRIVATE atomic)" >> \
|
||||
Common/DataModel/CMakeLists.txt
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vlicense Copyright.txt
|
||||
|
||||
|
|
Loading…
Reference in New Issue