Browse Source

test on Kingspeak

iss7
Trevor Irons 5 years ago
parent
commit
1b72e7931c
1 changed files with 5 additions and 4 deletions
  1. 5
    4
      CMakeLists.txt

+ 5
- 4
CMakeLists.txt View File

60
     project (CHECKSUPERBUILD CXX) # Necessary for VTK query 
60
     project (CHECKSUPERBUILD CXX) # Necessary for VTK query 
61
     find_package (yaml-cpp 0.6         PATHS ${CMAKE_INSTALL_PREFIX}  NO_DEFAULT_PATH) # Serialisation of classes 
61
     find_package (yaml-cpp 0.6         PATHS ${CMAKE_INSTALL_PREFIX}  NO_DEFAULT_PATH) # Serialisation of classes 
62
     find_package (Eigen3   3.3         PATHS ${CMAKE_INSTALL_PREFIX}  NO_DEFAULT_PATH) # Matrix/Vector & Math
62
     find_package (Eigen3   3.3         PATHS ${CMAKE_INSTALL_PREFIX}  NO_DEFAULT_PATH) # Matrix/Vector & Math
63
+#${CMAKE_INSTALL_PREFIX}  NO_DEFAULT_PATH 
63
     if (LEMMA_VTK8_SUPPORT)                                                            # Visualisation 
64
     if (LEMMA_VTK8_SUPPORT)                                                            # Visualisation 
64
-        find_package (VTK  8.2.0       PATHS ${CMAKE_INSTALL_PREFIX}  NO_DEFAULT_PATH 
65
+        find_package (VTK  8.2        
65
         COMPONENTS 
66
         COMPONENTS 
66
         vtkCommonCore 
67
         vtkCommonCore 
67
         vtkRenderingCore 
68
         vtkRenderingCore 
78
         vtkFiltersHybrid 
79
         vtkFiltersHybrid 
79
         vtkFiltersModeling 
80
         vtkFiltersModeling 
80
         vtkRenderingVolumeOpenGL2
81
         vtkRenderingVolumeOpenGL2
81
-        QUIET 
82
+        QUIET
82
         ) 
83
         ) 
83
     endif()
84
     endif()
84
 else()
85
 else()
107
 
108
 
108
 INCLUDE_DIRECTORIES(${YAML_CPP_INCLUDE_DIR})
109
 INCLUDE_DIRECTORIES(${YAML_CPP_INCLUDE_DIR})
109
 if (VTK_VERSION VERSION_GREATER "8.2.0")
110
 if (VTK_VERSION VERSION_GREATER "8.2.0")
110
-    message( STATUS "${VTK_VERSION} is compatible??  ${VTK_VERSION_COMPATIBLE}")
111
-    set (VTK_FOUND False) 
111
+    message( STATUS "${VTK_VERSION} is compatible: ${VTK_VERSION_COMPATIBLE}" )
112
+    #set (VTK_FOUND False) 
112
 endif()
113
 endif()
113
 if (VTK_FOUND)
114
 if (VTK_FOUND)
114
     set(volumeRenderer volumerenderer.cxx)
115
     set(volumeRenderer volumerenderer.cxx)

Loading…
Cancel
Save