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,8 +60,9 @@ if (CMAKE_CROSSCOMPILING)
60 60
     project (CHECKSUPERBUILD CXX) # Necessary for VTK query 
61 61
     find_package (yaml-cpp 0.6         PATHS ${CMAKE_INSTALL_PREFIX}  NO_DEFAULT_PATH) # Serialisation of classes 
62 62
     find_package (Eigen3   3.3         PATHS ${CMAKE_INSTALL_PREFIX}  NO_DEFAULT_PATH) # Matrix/Vector & Math
63
+#${CMAKE_INSTALL_PREFIX}  NO_DEFAULT_PATH 
63 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 66
         COMPONENTS 
66 67
         vtkCommonCore 
67 68
         vtkRenderingCore 
@@ -78,7 +79,7 @@ if (CMAKE_CROSSCOMPILING)
78 79
         vtkFiltersHybrid 
79 80
         vtkFiltersModeling 
80 81
         vtkRenderingVolumeOpenGL2
81
-        QUIET 
82
+        QUIET
82 83
         ) 
83 84
     endif()
84 85
 else()
@@ -107,8 +108,8 @@ endif()
107 108
 
108 109
 INCLUDE_DIRECTORIES(${YAML_CPP_INCLUDE_DIR})
109 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 113
 endif()
113 114
 if (VTK_FOUND)
114 115
     set(volumeRenderer volumerenderer.cxx)

Loading…
Cancel
Save