-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathxleafletConfig.cmake.in
32 lines (25 loc) · 1.23 KB
/
xleafletConfig.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
27
28
29
30
31
############################################################################
# Copyright (c) 2018, Sylvain Corlay, Johan Mabille, and Wolf Vollprecht #
# #
# Distributed under the terms of the BSD 3-Clause License. #
# #
# The full license is in the file LICENSE, distributed with this software. #
############################################################################
# xwidgets cmake module
# This module sets the following variables in your project::
#
# xleaflet_FOUND - true if xleaflet found on the system
# xleaflet_INCLUDE_DIRS - the directory containing xleaflet headers
# xleaflet_LIBRARY - empty
@PACKAGE_INIT@
@XLEAFLET_CONFIG_CODE@
include(CMakeFindDependencyMacro)
find_dependency(xproperty @xproperty_REQUIRED_VERSION@)
find_dependency(xwidgets @xwidgets_REQUIRED_VERSION@)
if (NOT TARGET xleaflet)
include("${CMAKE_CURRENT_LIST_DIR}/@[email protected]")
if (TARGET xleaflet)
get_target_property(@PROJECT_NAME@_INCLUDE_DIR xleaflet INTERFACE_INCLUDE_DIRECTORIES)
get_target_property(@PROJECT_NAME@_LIBRARY xleaflet LOCATION)
endif ()
endif ()