diff --git a/ThirdParty/CMakeLists.txt b/ThirdParty/CMakeLists.txt index db57f5dba843c4c6b94e759d294a1c1705de1c5f..b4648795ebad85f0c84a546dc6f1defebab59f86 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()