ports/math/vtk8/files/patch-GUISupport_Qt_PluginInstall.cmake.in
Yuri Victorovich fe7743ba2e New port: math/vtk8: Visualization toolkit (repocopy of math/vtk6 with modifications)
Changes against math/vtk6:
* Use DISTVERSION
* Update COMMENT
* Add to USES
* Remove the SHARED option: all libraries should be shared, no need for the option to do otherwise
* Remove the PYTHON option: python binding should be a separate port
* Modernize the port: use helpers instead of .if/.endif
* Use autoplist: too many files with too complex dependencies on options
* Update USE_QT to include missing parts
2018-07-12 19:03:54 +00:00

11 lines
592 B
CMake

--- GUISupport/Qt/PluginInstall.cmake.in.orig 2017-11-21 08:23:50 UTC
+++ GUISupport/Qt/PluginInstall.cmake.in
@@ -10,7 +10,7 @@ if (WIN32)
set(BUILDTYPE_SUFFIX @CMAKE_RELEASE_POSTFIX@)
endif ()
endif ()
-set(VTK_INSTALL_QT_PLUGIN_FILE "@CMAKE_SHARED_LIBRARY_PREFIX@QVTKWidgetPlugin${BUILDTYPE_SUFFIX}@CMAKE_SHARED_LIBRARY_SUFFIX@")
+set(VTK_INSTALL_QT_PLUGIN_FILE "@CMAKE_SHARED_LIBRARY_PREFIX@QVTKWidgetPlugin-@VTK_MAJOR_VERSION@.@VTK_MINOR_VERSION@${BUILDTYPE_SUFFIX}@CMAKE_SHARED_LIBRARY_SUFFIX@")
set(VTK_CONFIGURATIONS "@CMAKE_CONFIGURATION_TYPES@")
if(VTK_CONFIGURATIONS)