-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathxvega-bindingsConfig.cmake.in
31 lines (25 loc) · 1.33 KB
/
xvega-bindingsConfig.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) 2016, Johan Mabille and Sylvain Corlay #
# #
# Distributed under the terms of the BSD 3-Clause License. #
# #
# The full license is in the file LICENSE, distributed with this software. #
############################################################################
# xproperty cmake module
# This module sets the following variables in your project::
#
# xvega-bindings_FOUND - true if xproperty found on the system
# xvega-bindings_INCLUDE_DIR - the directory containing xproperty headers
# xvega-bindings_LIBRARY - empty
@PACKAGE_INIT@
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR};${CMAKE_MODULE_PATH}")
include(CMakeFindDependencyMacro)
# nlohmann_json requires libraries that exchange json objects to be linked
# with the same version of nlohmann_json.
find_dependency(xvega)
find_dependency(nlohmann_json @nlohmann_json_VERSION@ EXACT)
if(NOT TARGET @PROJECT_NAME@)
include("${CMAKE_CURRENT_LIST_DIR}/@[email protected]")
get_target_property(@PROJECT_NAME@_INCLUDE_DIR @PROJECT_NAME@ INTERFACE_INCLUDE_DIRECTORIES)
endif()
set(@PROJECT_NAME@_LIBRARY "")