blob: 2deb565cd34569dcf07820117af0db4e0646635f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
diff --git a/umpire-config.cmake.in b/umpire-config.cmake.in
index a98ad5fe..4e54e173 100644
--- a/umpire-config.cmake.in
+++ b/umpire-config.cmake.in
@@ -7,6 +7,13 @@
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 @CMAKE_INSTALL_PREFIX@/lib/cmake/camp)
+ endif ()
+ find_package(camp REQUIRED)
+endif ()
+
set(Umpire_VERSION_MAJOR @Umpire_VERSION_MAJOR@)
set(Umpire_VERSION_MINOR @Umpire_VERSION_MINOR@)
set(Umpire_VERSION_PATCH @Umpire_VERSION_PATCH@)
|