paraview: fix build on XBPS_NO_ATOMIC8 platforms

This commit is contained in:
q66 2020-09-29 18:14:21 +02:00
parent 32d385d5eb
commit d093296428

View file

@ -53,6 +53,8 @@ post_extract() {
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
echo "vtk_module_link(VTK::CommonDataModel PRIVATE atomic)" >> \
VTK/Common/DataModel/CMakeLists.txt
echo "target_link_libraries(protobuf PRIVATE atomic)" >> \
ThirdParty/protobuf/vtkprotobuf/src/CMakeLists.txt
fi
}