Browse Source

Examples merged back with master

iss2
Trevor Irons 9 years ago
parent
commit
e44ad63d60
1 changed files with 11 additions and 9 deletions
  1. 11
    9
      CMakeLists.txt

+ 11
- 9
CMakeLists.txt View File

@@ -1,15 +1,17 @@
1 1
 if (VTK_SUPPORT)
2
-include_directories(${CMAKE_INSTALL_PREFIX}/include)
2
+	include_directories(${CMAKE_INSTALL_PREFIX}/include)
3 3
 
4
-include_directories( "${CMAKE_CURRENT_SOURCE_DIR}/include" )
5
-add_subdirectory("src")
4
+	include_directories( "${CMAKE_CURRENT_SOURCE_DIR}/include" )
5
+	add_subdirectory("src")
6 6
 
7
-add_library( fem4ellipticpde ${FEMSOURCE} )  
8
-target_link_libraries(fem4ellipticpde "lemmacore")
7
+	add_library( fem4ellipticpde ${FEMSOURCE} )  
8
+	target_link_libraries(fem4ellipticpde "lemmacore")
9 9
 
10
-install ( TARGETS fem4ellipticpde DESTINATION ${CMAKE_INSTALL_PREFIX}/lib )
10
+	install ( TARGETS fem4ellipticpde DESTINATION ${CMAKE_INSTALL_PREFIX}/lib )
11 11
 
12
-if (LEMMABUILDEXAMPLES)
13
-	add_subdirectory(examples)
14
-endif()
12
+	if (LEMMABUILDEXAMPLES)
13
+		add_subdirectory(examples)
14
+	endif()
15
+else()
16
+	message( STATUS "FEM4EllipticPDE requires Lemma to be build with VTK" )
15 17
 endif()

Loading…
Cancel
Save