-
Notifications
You must be signed in to change notification settings - Fork 124
Expand file tree
/
Copy pathConfig.cmake.in
More file actions
45 lines (41 loc) · 1.46 KB
/
Config.cmake.in
File metadata and controls
45 lines (41 loc) · 1.46 KB
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
36
37
38
39
40
41
42
43
44
45
################################################################################
#
# PopSift - a CUDA implementation of the SIFT algorithm
#
# Copyright 2016, Simula Research Laboratory
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# Config file for PopSift.
#
# This file is used by CMake when find_package(PopSift) is invoked and either
# the directory containing this file either is present in CMAKE_MODULE_PATH
# (if PopSift was installed), or exists in the local CMake package registry if
# the PopSift build directory was exported.
#
# This module defines a namespace PopSift:: and the target needed to compile and
# link against the library. The target automatically propagate the dependencies
# of the library.
#
# In your CMakeLists.txt file just add the dependency
#
# find_package(PopSift CONFIG REQUIRED)
#
# Then if you want to link it to an executable
#
# add_executable(poptest yourfile.cpp)
#
# Then to the library
#
# target_link_libraries(poptest PUBLIC PopSift::popsift)
#
# Note that target_include_directories() is not necessary.
#
################################################################################
@PACKAGE_INIT@
include(CMakeFindDependencyMacro)
find_dependency(Threads REQUIRED)
include("${CMAKE_CURRENT_LIST_DIR}/@popsift_targets_export_name@.cmake")
check_required_components("@PROJECT_NAME@")