From 99f39be9aacc8b22b24d2ff9549e6f46d3329650 Mon Sep 17 00:00:00 2001 From: Lars Bilke <lars.bilke@ufz.de> Date: Tue, 25 Apr 2017 09:04:26 +0200 Subject: [PATCH] [CMake] Removed some remaining Qt4 logic. --- ThirdParty/CMakeLists.txt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/ThirdParty/CMakeLists.txt b/ThirdParty/CMakeLists.txt index db57f5dba84..b4648795eba 100644 --- a/ThirdParty/CMakeLists.txt +++ b/ThirdParty/CMakeLists.txt @@ -38,11 +38,7 @@ if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/vtkdiff/CMakeLists.txt AND OGS_BUILD_TESTS endif() if(NOT TARGET vtkGUISupportQt AND OGS_BUILD_GUI) - if(QT4_FOUND) - set(VTK_QT_VERSION 4 CACHE INTERNAL "") - else() - set(VTK_QT_VERSION 5 CACHE INTERNAL "") - endif() + set(VTK_QT_VERSION 5 CACHE INTERNAL "") include_directories(SYSTEM ${VTK_INCLUDE_DIRS}) add_subdirectory(${CMAKE_SOURCE_DIR}/ThirdParty/vtkGUISupportQt) endif() -- GitLab