File: Config.cmake

package info (click to toggle)
jsoncons 1.4.3-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 17,896 kB
  • sloc: cpp: 141,842; sh: 33; makefile: 5
file content (18 lines) | stat: -rw-r--r-- 635 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# jsoncons cmake module
#
# This module adds target jsoncons::jsoncons
#
# It also sets the following variables in your project:
#
#   jsoncons_FOUND - true if jsoncons found on the system
#   jsoncons_INCLUDE_DIRS - the directory containing jsoncons headers
#   jsoncons_LIBRARY - empty

@PACKAGE_INIT@

if(NOT TARGET @PROJECT_NAME@::@PROJECT_NAME@)
  include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake")
  get_target_property(@PROJECT_NAME@_INCLUDE_DIRS jsoncons::jsoncons INTERFACE_INCLUDE_DIRECTORIES)
  # For compatibility with older versions
  add_library(@PROJECT_NAME@ ALIAS @PROJECT_NAME@::@PROJECT_NAME@)
endif()