-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathCMakeVTKSetup.txt
40 lines (39 loc) · 1.1 KB
/
CMakeVTKSetup.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# * *************************************************************
# *
# * Soft Active Mater on Surfaces (SAMoS)
# *
# * Author: Rastko Sknepnek
# *
# * Division of Physics
# * School of Engineering, Physics and Mathematics
# * University of Dundee
# *
# * (c) 2013, 2014
# *
# * School of Science and Engineering
# * School of Life Sciences
# * University of Dundee
# *
# * (c) 2015
# *
# * Author: Silke Henkes
# *
# * Department of Physics
# * Institute for Complex Systems and Mathematical Biology
# * University of Aberdeen
# *
# * (c) 2014, 2015
# *
# * This program cannot be used, copied, or modified without
# * explicit written permission of the authors.
# *
# * **************************************************************
find_package(VTK)
if(VTK_FOUND)
include(${VTK_USE_FILE})
add_definitions(-DHAS_VTK)
set(VTK_LIBS ${VTK_LIBRARIES})
else(VTK_FOUND)
MESSAGE("No VTK library found. VTP support is not mandatory, but some features will be disabled. VTP output capability will not be compiled into the code.")
set(VTK_LIBS "")
endif(VTK_FOUND)