Преглед на файлове

Examples merged back with master

iss2
Trevor Irons преди 8 години
родител
ревизия
e44ad63d60
променени са 1 файла, в които са добавени 11 реда и са изтрити 9 реда
  1. 11
    9
      CMakeLists.txt

+ 11
- 9
CMakeLists.txt Целия файл

@@ -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…
Отказ
Запис