File: FCLibConfig.cmake.in

package info (click to toggle)
fclib 3.0.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 10,604 kB
  • sloc: ansic: 1,640; makefile: 71; sh: 38
file content (34 lines) | stat: -rw-r--r-- 1,557 bytes parent folder | download
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
# - config file for @PACKAGE_NAME@ package
# Written by F. Pérignon, 2011 march
#
# This file generates @PACKAGE_NAME@Config.cmake, that may be used by another cmake project
# to retrieve all the configuration variables from @PACKAGE_NAME@
#
# It defines the following variables
#
# @PACKAGE_NAME@_INCLUDE_DIRS - include directories for ppmcore
# @PACKAGE_NAME@_EXTRA_INCLUDE_DIRS - path to extra headers needed for @PACKAGE_NAME@ (metis.h ...)
# @PACKAGE_NAME@_LIBRARY_DIRS - path to @PACKAGE_NAME@ library(ies)
# @PACKAGE_NAME@_LIBRARIES  - libraries to link against to use ppmcore
# @PACKAGE_NAME@_USE_XXX - value of option "USE_XXX" (for example USE_MPI, USE_Metis ... = ON or OFF)

# Tell the user where to find ppmcore headers
# Tell the user project where to find our headers and libraries
set(@PACKAGE_NAME@_INCLUDE_DIRS "${${PACKAGE_NAME}_INCLUDE_DIRS}")
set(@PACKAGE_NAME@_EXTRA_INCLUDE_DIRS "${${PACKAGE_NAME}_EXTRA_INCLUDE_DIRS}")
set(@PACKAGE_NAME@_LIBRARY_DIRS "${${PACKAGE_NAME}_LIB_DIR}")
set(@PACKAGE_NAME@_MODULE_DIR "${${PACKAGE_NAME}_INCLUDE_DIRS}/Modules")

# Our library dependencies (contains definitions for IMPORTED targets)
include("${${PACKAGE_NAME}_CMAKE_DIR}/@PACKAGE_NAME@LibraryDepends.cmake")
 
# These are IMPORTED targets created by FooBarLibraryDepends.cmake
set(@PACKAGE_NAME@_LIBRARIES @PROJECT_LIBRARY_NAME@)

# Set all @PACKAGE_NAME@ options
set(@PACKAGE_NAME@_FCLIB_WITH_MERIT_FUNCTIONS @FCLIB_WITH_MERIT_FUNCTIONS@)
set(@PACKAGE_NAME@_FCLIB_HEADER_ONLY @FCLIB_HEADER_ONLY@)
set(@PACKAGE_NAME@_USE_MPI @USE_MPI@)