瀏覽代碼

Fixed VTK dependency in build

iss2
Trevor Irons 8 年之前
父節點
當前提交
76a851474d
共有 1 個檔案被更改,包括 4 行新增0 行删除
  1. 4
    0
      CMakeLists.txt

+ 4
- 0
CMakeLists.txt 查看文件

@@ -1,3 +1,4 @@
1
+if (VTK_SUPPORT)
1 2
 include_directories(${CMAKE_INSTALL_PREFIX}/include)
2 3
 
3 4
 include_directories( "${CMAKE_CURRENT_SOURCE_DIR}/include" )
@@ -5,3 +6,6 @@ add_subdirectory("src")
5 6
 
6 7
 add_library( fem4ellipticpde ${FEMSOURCE} )  
7 8
 target_link_libraries(fem4ellipticpde "lemmacore")
9
+else()
10
+	message( STATUS "FEM4EllipticPDE requires Lemma to be build with VTK" )
11
+endif()

Loading…
取消
儲存