Browse Source

Fixed VTK dependency in build

iss2
Trevor Irons 8 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
+if (VTK_SUPPORT)
1
 include_directories(${CMAKE_INSTALL_PREFIX}/include)
2
 include_directories(${CMAKE_INSTALL_PREFIX}/include)
2
 
3
 
3
 include_directories( "${CMAKE_CURRENT_SOURCE_DIR}/include" )
4
 include_directories( "${CMAKE_CURRENT_SOURCE_DIR}/include" )
5
 
6
 
6
 add_library( fem4ellipticpde ${FEMSOURCE} )  
7
 add_library( fem4ellipticpde ${FEMSOURCE} )  
7
 target_link_libraries(fem4ellipticpde "lemmacore")
8
 target_link_libraries(fem4ellipticpde "lemmacore")
9
+else()
10
+	message( STATUS "FEM4EllipticPDE requires Lemma to be build with VTK" )
11
+endif()

Loading…
Cancel
Save