forked from Kitware/VTK
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
31 lines (24 loc) · 821 Bytes
/
CMakeLists.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
find_package(Boost REQUIRED)
include_directories(${Boost_INCLUDE_DIRS})
vtk_module_third_party(xdmf3
LIBRARIES vtkxdmf3
INCLUDE_DIRS
${CMAKE_CURRENT_SOURCE_DIR}/vtkxdmf3
${CMAKE_CURRENT_SOURCE_DIR}/vtkxdmf3/core
${CMAKE_CURRENT_BINARY_DIR}/vtkxdmf3
${CMAKE_CURRENT_BINARY_DIR}/vtkxdmf3/core
${CMAKE_CURRENT_SOURCE_DIR}/vtkxdmf3/CMake/VersionSuite
NO_ADD_SUBDIRECTORY
)
if(VTK_USE_SYSTEM_XDMF3)
return()
endif()
#########################################################################
# Set Xdmf build environment options the way VTK wants them
#?
#########################################################################
# Setup cmake to pull the library into place as a vtk module
vtk_module_export_info()
add_subdirectory(vtkxdmf3)
vtk_target_export(vtkxdmf3)
vtk_target_export(XdmfCore)