summaryrefslogtreecommitdiff
path: root/openEMS/CMakeLists.txt
diff options
context:
space:
mode:
authorRuben Undheim <ruben.undheim@gmail.com>2019-02-10 08:20:54 +0000
committerRuben Undheim <ruben.undheim@gmail.com>2019-02-10 08:20:54 +0000
commitffda26309128be5d112df61a03e4827e47ecfac8 (patch)
tree7552a0f13b6873dbf98c41b84cb81bac0f220ca7 /openEMS/CMakeLists.txt
parent086965becc2a02254e3441a1d97b61ccab2d66ea (diff)
Import GIT HEAD of openEMS sub-project (with Python interface)
Diffstat (limited to 'openEMS/CMakeLists.txt')
-rw-r--r--openEMS/CMakeLists.txt10
1 files changed, 1 insertions, 9 deletions
diff --git a/openEMS/CMakeLists.txt b/openEMS/CMakeLists.txt
index 898f280..3325abb 100644
--- a/openEMS/CMakeLists.txt
+++ b/openEMS/CMakeLists.txt
@@ -122,15 +122,7 @@ find_package(Boost 1.46 COMPONENTS
)
# vtk
-if (WIN32)
- find_package(VTK 6.1 REQUIRED)
-else()
- # prefer >=6.1, fallback to >=5.4
- find_package(VTK 6.1 COMPONENTS vtkIOXML vtkIOGeometry vtkIOLegacy vtkIOPLY NO_MODULE)
- IF (NOT ${VTK_FOUND})
- find_package(VTK REQUIRED)
- endif()
-endif()
+find_package(VTK COMPONENTS vtkIOXML vtkIOGeometry vtkIOLegacy vtkIOPLY NO_MODULE REQUIRED)
message(STATUS "Found package VTK. Using version " ${VTK_VERSION})
if("${VTK_MAJOR_VERSION}" GREATER 5)