summaryrefslogtreecommitdiff
path: root/math/vtk6/files/patch-GUISupport-Qt_CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'math/vtk6/files/patch-GUISupport-Qt_CMakeLists.txt')
-rw-r--r--math/vtk6/files/patch-GUISupport-Qt_CMakeLists.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/math/vtk6/files/patch-GUISupport-Qt_CMakeLists.txt b/math/vtk6/files/patch-GUISupport-Qt_CMakeLists.txt
index ced5f2266128..3260c4238e1b 100644
--- a/math/vtk6/files/patch-GUISupport-Qt_CMakeLists.txt
+++ b/math/vtk6/files/patch-GUISupport-Qt_CMakeLists.txt
@@ -1,6 +1,6 @@
---- GUISupport/Qt/CMakeLists.txt.orig 2014-01-22 16:55:41.000000000 +0100
-+++ GUISupport/Qt/CMakeLists.txt 2014-03-10 12:25:40.000000000 +0100
-@@ -101,7 +101,7 @@
+--- GUISupport/Qt/CMakeLists.txt.orig 2015-03-03 14:37:14.000000000 -0600
++++ GUISupport/Qt/CMakeLists.txt 2015-11-25 17:08:37.840001000 -0600
+@@ -104,7 +104,7 @@
endif()
# This build plugin logic should just get migrated into a module I think.
@@ -9,7 +9,7 @@
set(PluginLibSrcs Q4VTKWidgetPlugin.cxx)
set(PluginMocHeaders Q4VTKWidgetPlugin.h)
-@@ -121,16 +121,16 @@
+@@ -124,16 +124,16 @@
# add QVTK plugin from sources
# stand-alone as it doesn't depend on QVTK library
@@ -24,8 +24,8 @@
+ set_target_properties(QVTKWidgetPlugin-${VTK_MAJOR_VERSION}.${VTK_MINOR_VERSION} PROPERTIES COMPILE_DEFINITIONS QT_NO_DEBUG)
# link with Qt libs
-- target_link_libraries(QVTKWidgetPlugin ${QT_LIBRARIES})
-+ target_link_libraries(QVTKWidgetPlugin-${VTK_MAJOR_VERSION}.${VTK_MINOR_VERSION} ${QT_LIBRARIES})
+- vtk_module_link_libraries(QVTKWidgetPlugin ${QT_LIBRARIES})
++ vtk_module_link_libraries(QVTKWidgetPlugin-${VTK_MAJOR_VERSION}.${VTK_MINOR_VERSION} ${QT_LIBRARIES})
# install rules