Browse Source

Fixed VTK dependency in build

iss2
Trevor Irons 9 years ago
parent
commit
76a851474d
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      CMakeLists.txt

+ 4
- 0
CMakeLists.txt View File

@@ -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…
Cancel
Save