From 86f6c8ecd7dddef778845e6e4949b914622b6235 Mon Sep 17 00:00:00 2001
From: Lars Bilke <lars.bilke@ufz.de>
Date: Mon, 13 Jul 2015 09:16:36 +0200
Subject: [PATCH] Add linking to vtkInteractionStyle explicitly.

---
 Applications/CLI/CMakeLists.txt | 2 +-
 Tests/CMakeLists.txt            | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/Applications/CLI/CMakeLists.txt b/Applications/CLI/CMakeLists.txt
index 1a26abecc35..203f3d522b3 100644
--- a/Applications/CLI/CMakeLists.txt
+++ b/Applications/CLI/CMakeLists.txt
@@ -16,7 +16,7 @@ target_link_libraries(ogs
 )
 
 if(OGS_BUILD_GUI)
-	target_link_libraries(ogs QtDataView VtkVis)
+	target_link_libraries(ogs QtDataView VtkVis vtkInteractionStyle)
 endif()
 
 ADD_CATALYST_DEPENDENCY(ogs)
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt
index 63bd0d05878..698541736fa 100644
--- a/Tests/CMakeLists.txt
+++ b/Tests/CMakeLists.txt
@@ -75,6 +75,7 @@ if(OGS_BUILD_GUI)
 	target_link_libraries(testrunner
 		QtDataView
 		VtkVis
+		vtkInteractionStyle
 	)
 endif()
 
-- 
GitLab