-
Notifications
You must be signed in to change notification settings - Fork 22
/
xeus-sqlConfig.cmake.in
46 lines (36 loc) · 1.83 KB
/
xeus-sqlConfig.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
############################################################################
# Copyright (c) 2018, Martin Renou, Johan Mabille, Sylvain Corlay and #
# Wolf Vollprecht, Mariana Meireles #
# #
# Distributed under the terms of the BSD 3-Clause License. #
# #
# The full license is in the file LICENSE, distributed with this software. #
############################################################################
# xeus-sql cmake module
# This module sets the following variables in your project::
#
# xeus-sql_FOUND - true if xeus-sql found on the system
# xeus-sql_INCLUDE_DIRS - the directory containing xeus-sql headers
# xeus-sql_LIBRARY - the library for dynamic linking
# xeus-sql_STATIC_LIBRARY - the library for static linking
@PACKAGE_INIT@
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR};${CMAKE_MODULE_PATH}")
@XEUS_SQL_CONFIG_CODE@
include(CMakeFindDependencyMacro)
find_dependency(xeus @xeus_REQUIRED_VERSION@)
find_dependency(xvega @xvega_REQUIRED_VERSION@)
find_dependency(xvega-bindings @xvega-bindings_REQUIRED_VERSION@)
find_dependency(Soci @Soci_REQUIRED_VERSION@)
find_dependency(SQLite3)
find_dependency(mysql)
find_dependency(PostgreSQL)
find_dependency(Threads @Threads_REQUIRED_VERSION@)
find_dependency(tabulate @tabulate_REQUIRED_VERSION@)
if (NOT TARGET xeus-sql)
include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake")
get_target_property(@PROJECT_NAME@_INCLUDE_DIR xeus-sql INTERFACE_INCLUDE_DIRECTORIES)
get_target_property(@PROJECT_NAME@_LIBRARY xeus-sql LOCATION)
if (TARGET xeus-sql-static)
get_target_property(@PROJECT_NAME@_STATIC_LIBRARY xeus-sql-static LOCATION)
endif ()
endif ()