find_dependencies.cmake.in 1.8 KB
Newer Older
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
if (NOT BOOST_ROOT)
  set(_DIRS @Boost_INCLUDE_DIRS@)
  list(GET _DIRS 0 _DIR)
  file(TO_CMAKE_PATH "${_DIR}/.." BOOST_ROOT)
  unset(_DIR)
  unset(_DIRS)
endif (NOT BOOST_ROOT)
#set(Boost_VERSION "@Boost_VERSION@")
set(Boost_COMPONENTS "@BOOST_LIBS_REQUIRED@")
set(Boost_USE_STATIC_LIBS @Boost_USE_STATIC_LIBS@)
if (Boost_VERSION)
  set(Boost_VERSION_EXACT "${Boost_VERSION}" EXACT)
endif (Boost_VERSION)

if (NOT PETSC_ROOT)
  file(TO_CMAKE_PATH "@PETSC_PKG_CONFIG@/../.." PETSC_ROOT)
endif (NOT PETSC_ROOT)
set(PETSc_VERSION "@PETSc_VERSION@")
if (PETSc_VERSION)
  set(PETSc_VERSION_EXACT "${PETSc_VERSION}" EXACT)
endif (PETSc_VERSION)

if (NOT SUITESPARSE_ROOT)
  file(TO_CMAKE_PATH "@UMFPACK_INCLUDE_DIR@/.." SUITESPARSE_ROOT)
endif (NOT SUITESPARSE_ROOT)
set(UMFPACK_VERSION "@UMFPACK_VERSION@")
if (UMFPACK_VERSION)
  set(UMFPACK_VERSION_EXACT "${UMFPACK_VERSION}" EXACT)
endif (UMFPACK_VERSION)

if (NOT HYPRE_ROOT)
  file(TO_CMAKE_PATH "@HYPRE_INCLUDE_DIR@/.." HYPRE_ROOT)
endif (NOT HYPRE_ROOT)
set(HYPRE_VERSION "@HYPRE_VERSION@")
if (HYPRE_VERSION)
  set(HYPRE_VERSION_EXACT "${HYPRE_VERSION}" EXACT)
endif (HYPRE_VERSION)

if (NOT ZLIB_ROOT)
  file(TO_CMAKE_PATH "@ZLIB_INCLUDE_DIR@/.." ZLIB_ROOT)
endif (NOT ZLIB_ROOT)
set(ZLIB_VERSION "@ZLIB_VERSION@")
if (ZLIB_VERSION)
  set(ZLIB_VERSION_EXACT "${ZLIB_VERSION}" EXACT)
endif (ZLIB_VERSION)

if (NOT ZOLTAN_ROOT)
  file(TO_CMAKE_PATH "@ZOLTAN_INCLUDE_DIR@/.." ZOLTAN_ROOT)
endif (NOT ZOLTAN_ROOT)
set(Zoltan_VERSION "@Zoltan_VERSION@")
if (Zoltan_VERSION)
  set(Zoltan_VERSION_EXACT "${Zoltan_VERSION}" EXACT)
endif (Zoltan_VERSION)

if (NOT BDDCML_ROOT)
  file(TO_CMAKE_PATH "@BDDCML_INCLUDE_DIR@/.." BDDCML_ROOT)
endif (NOT BDDCML_ROOT)
set(BDDCML_VERSION "@BDDCML_VERSION@")
if (BDDCML_VERSION)
  set(BDDCML_VERSION_EXACT "${BDDCML_VERSION}" EXACT)
endif (BDDCML_VERSION)