forked from LLNL/Umpire
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathumpire-config.cmake.in
26 lines (23 loc) · 923 Bytes
/
umpire-config.cmake.in
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
##############################################################################
# Copyright (c) 2016-21, Lawrence Livermore National Security, LLC and Umpire
# project contributors. See the COPYRIGHT file for details.
#
# SPDX-License-Identifier: (MIT)
##############################################################################
get_filename_component(UMPIRE_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
set(UMPIRE_INCLUDE_DIRS "@CMAKE_INSTALL_PREFIX@/include")
if (NOT TARGET camp)
if (NOT DEFINED camp_DIR)
set(camp_DIR @umpire_camp_DIR@)
endif ()
find_package(camp REQUIRED
NO_DEFAULT_PATH
PATHS ${camp_DIR}
${camp_DIR}/lib/cmake/camp
)
endif ()
set(Umpire_VERSION_MAJOR @Umpire_VERSION_MAJOR@)
set(Umpire_VERSION_MINOR @Umpire_VERSION_MINOR@)
set(Umpire_VERSION_PATCH @Umpire_VERSION_PATCH@)
set(Umpire_VERSION_RC "@UMPIRE_VERSION_RC@")
include("${UMPIRE_CMAKE_DIR}/umpire-targets.cmake")