-
Notifications
You must be signed in to change notification settings - Fork 5
/
xeus-liteConfig.cmake.in
36 lines (29 loc) · 1.61 KB
/
xeus-liteConfig.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
############################################################################
# Copyright (c) 2016, Johan Mabille, Sylvain Corlay, Martin Renou #
# Copyright (c) 2016, QuantStack #
# #
# Distributed under the terms of the BSD 3-Clause License. #
# #
# The full license is in the file LICENSE, distributed with this software. #
############################################################################
# xeus cmake module
# This module sets the following variables in your project::
#
# xeus-lite_FOUND - true if xeus-lite found on the system
# xeus-lite_INCLUDE_DIR - the directory containing xeus-lite headers
# xeus-lite_STATIC_LIBRARY - the library for static linking
# xeus-lite_TS_DIR - the directory containing the TS files for building a jupyterlite kernel
@PACKAGE_INIT@
set(@PROJECT_NAME@_TS_DIR ${PACKAGE_PREFIX_DIR}/@XEUS_LITE_TS_INSTALL_DIR@)
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR};${CMAKE_MODULE_PATH}")
@XEUS_LITE_CONFIG_CODE@
include(CMakeFindDependencyMacro)
find_dependency(xeus @xeus_REQUIRED_VERSION@)
if(NOT TARGET xeus-lite)
include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake")
if (TARGET xeus-lite)
get_target_property(@PROJECT_NAME@_INCLUDE_DIR xeus-lite INTERFACE_INCLUDE_DIRECTORIES)
get_target_property(@PROJECT_NAME@_STATIC_LIBRARY xeus-lite LOCATION)
set(@PROJECT_NAME@_LIBRARY ${@PROJECT_NAME@_STATIC_LIBRARY})
endif ()
endif()