Debian Codegraph @

cmake/templates/DOLFINConfig.cmake.in

raw ◀ ▶
Source reconstructed at patch state 1 of 2 — not the installed (fully patched) source.
2 Debian patches touch this file
1 # - Build details for DOLFIN: Dynamic Object-oriented Library for
2 # - FINite element computation
3 #
4 # This file has been automatically generated.
5
6 # FIXME: Check that naming conforms to CMake standards
7
8 if (POLICY CMP0011)
9 cmake_policy(SET CMP0011 NEW)
10 endif()
11
12 if (POLICY CMP0012)
13 cmake_policy(SET CMP0012 NEW)
14 endif()
15
16 # Compute path
17 get_filename_component(DOLFIN_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
18
19 # Library dependencies (contains definitions for IMPORTED targets)
20 # NOTE: DOLFIN demo CMakeLists.txt are written to be stand-alone, as
21 # well as the build system building the demo. Therefore, we need the
22 # below guard to avoid exporting the targets twice.
23 if (NOT TARGET dolfin)
24 include("${DOLFIN_CMAKE_DIR}/DOLFINTargets.cmake")
25 endif()
26
27 # Compilers
28 set(DOLFIN_CXX_COMPILER "@CMAKE_CXX_COMPILER@")
29
30 # Compiler defintions
31 set(DOLFIN_CXX_DEFINITIONS "-DDOLFIN_VERSION=\"@DOLFIN_VERSION@\";@DOLFIN_CXX_DEFINITIONS@")
32
33 # Compiler flags
34 set(DOLFIN_CXX_FLAGS "@CMAKE_CXX_FLAGS@")
35
36 # Linker flags
37 set(DOLFIN_LINK_FLAGS "@CMAKE_EXE_LINKER_FLAGS@")
38
39 # Include directories
40 set(DOLFIN_INCLUDE_DIRS "@CMAKE_INSTALL_PREFIX@/@DOLFIN_INCLUDE_DIR@")
41
42 # Third party include directories
43 set(DOLFIN_3RD_PARTY_INCLUDE_DIRS "@DOLFIN_DEP_INCLUDE_DIRECTORIES@;@DOLFIN_DEP_SYSTEM_INCLUDE_DIRECTORIES@")
44
45 # DOLFIN library
46 set(DOLFIN_LIBRARIES dolfin${DOLFIN_LIB_NAME_EXT})
47
48 # Version
49 set(DOLFIN_VERSION_MAJOR "@DOLFIN_VERSION_MAJOR@")
50 set(DOLFIN_VERSION_MINOR "@DOLFIN_VERSION_MINOR@")
51 set(DOLFIN_VERSION_MICRO "@DOLFIN_VERSION_MICRO@")
52 set(DOLFIN_VERSION_STR "@DOLFIN_VERSION@")
53
54 # The location of the UseDOLFIN.cmake file
55 set(DOLFIN_USE_FILE "${DOLFIN_CMAKE_DIR}/UseDOLFIN.cmake")