File: package.cmake.in

package info (click to toggle)
libbpp-seq 2.4.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 3,008 kB
  • sloc: cpp: 18,259; perl: 2,501; makefile: 28
file content (26 lines) | stat: -rw-r--r-- 1,099 bytes parent folder | download
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
# CMake package file for Bio++ Sequence
# Authors:
#   Francois Gindraud (2017)
# Created: 08/03/2017
@PACKAGE_INIT@

if (NOT @PROJECT_NAME@_FOUND)
  # Deps
  find_package (bpp-core @bpp-core_VERSION@ REQUIRED)
  # Add targets
  include ("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@-targets.cmake")
  # Append targets to convenient lists
  set (BPP_LIBS_STATIC "${BPP_LIBS_STATIC}" @PROJECT_NAME@-static)
  set (BPP_LIBS_SHARED "${BPP_LIBS_SHARED}" @PROJECT_NAME@-shared)
  # Print some path info for targets
  get_property (static-location TARGET @PROJECT_NAME@-static PROPERTY LOCATION)
  get_property (shared-location TARGET @PROJECT_NAME@-shared PROPERTY LOCATION)
  get_property (header-location TARGET @PROJECT_NAME@-static PROPERTY INTERFACE_INCLUDE_DIRECTORIES)
  message (STATUS "@PROJECT_NAME@ @PROJECT_VERSION@ found:")
  message (STATUS "  static lib: ${static-location}")
  message (STATUS "  shared lib: ${shared-location}")
  message (STATUS "  includes: ${header-location}")
  unset (static-location)
  unset (shared-location)
  unset (header-location)
endif (NOT @PROJECT_NAME@_FOUND)