瀏覽代碼

test on Kingspeak

iss7
Trevor Irons 5 年之前
父節點
當前提交
1b72e7931c
共有 1 個文件被更改,包括 5 次插入4 次删除
  1. 5
    4
      CMakeLists.txt

+ 5
- 4
CMakeLists.txt 查看文件

@@ -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…
取消
儲存