forked from pool/paraview
Atri Bhattacharya
b5b3e85135
- Drop unused python-zope BuildRequires - Replace Qt5WebKit BuildRequires with Qt5WebEngine - Unbundle several dependencies, use system libraries: * double-conversion * CGNS * Eigen3 * GLEW * HDF5 * JsonCPP * liblz4 * netcdf * protobuf * PugiXML * Ogg/Theora - Add several patches from VTK package: * bundled_exodusii_add_missing_libpthread.patch * 0001-Add-libogg-to-IOMovie-target-link-libraries.patch * 0001-Allow-compilation-on-GLES-platforms.patch OBS-URL: https://build.opensuse.org/request/show/769040 OBS-URL: https://build.opensuse.org/package/show/science/paraview?expand=0&rev=65
15 lines
691 B
Diff
15 lines
691 B
Diff
--- a/VTK/ThirdParty/exodusII/vtkexodusII/CMakeLists.txt_orig 2019-02-14 23:22:45.209934041 +0100
|
|
+++ b/VTK/ThirdParty/exodusII/vtkexodusII/CMakeLists.txt 2019-02-14 23:23:32.793799582 +0100
|
|
@@ -297,8 +297,10 @@
|
|
"${CMAKE_CURRENT_BINARY_DIR}/include/exodusII_cfg.h"
|
|
"${CMAKE_CURRENT_BINARY_DIR}/include/exodus_config.h")
|
|
|
|
-vtk_add_library(vtkexodusII ${sources} ${headers})
|
|
+vtk_add_library(vtkexodusII ${sources} ${headers})
|
|
+set_property(TARGET vtkexodusII PROPERTY POSITION_INDEPENDENT_CODE ON)
|
|
target_link_libraries(vtkexodusII PUBLIC ${vtknetcdf_LIBRARIES})
|
|
+target_link_libraries(vtkexodusII PUBLIC pthread)
|
|
if (NOT VTK_INSTALL_NO_DEVELOPMENT)
|
|
install(FILES
|
|
${headers}
|