File: GlooConfig.cmake.in

package info (click to toggle)
gloo-cuda 0.0~git20231202.5354032-5
  • links: PTS, VCS
  • area: contrib
  • in suites: sid
  • size: 2,156 kB
  • sloc: cpp: 21,546; python: 8,179; makefile: 70; sh: 68
file content (35 lines) | stat: -rw-r--r-- 1,355 bytes parent folder | download | duplicates (6)
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
# - Config file for the Gloo package
# It defines the following variables
#  GLOO_INCLUDE_DIRS       - include directories for Gloo
#  GLOO_LIBRARIES          - libraries to link against
#  GLOO_CUDA_LIBRARIES     - cuda libraries to link against
#  GLOO_HIP_LIBRARIES      - hip libraries to link against

# library version information

set(GLOO_VERSION_MAJOR @GLOO_VERSION_MAJOR@)
set(GLOO_VERSION_MINOR @GLOO_VERSION_MINOR@)
set(GLOO_VERSION_PATCH @GLOO_VERSION_PATCH@)
set(GLOO_VERSION "@GLOO_VERSION@")

# import targets
include ("${CMAKE_CURRENT_LIST_DIR}/GlooTargets.cmake")

# include directory and libraries.
#
# Newer versions of CMake set the INTERFACE_INCLUDE_DIRECTORIES property
# of the imported targets. It is hence not necessary to add this path
# manually to the include search path for targets which link to gflags.
# The following lines are here for backward compatibility, in case one
# would like to use the old-style target names.

get_filename_component(
    CMAKE_CURRENT_LIST_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
# Note: the current list dir is _INSTALL_PREFIX/share/cmake/Gloo.
get_filename_component(
    _INSTALL_PREFIX "${CMAKE_CURRENT_LIST_DIR}/../../../" ABSOLUTE)
set(GLOO_INCLUDE_DIRS "${_INSTALL_PREFIX}/include")

set(GLOO_LIBRARIES gloo)
set(GLOO_CUDA_LIBRARIES gloo_cuda gloo)
set(GLOO_HIP_LIBRARIES gloo_hip gloo)