File: package.cmake.in

package info (click to toggle)
libbpp-core 2.4.1-13
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,904 kB
  • sloc: cpp: 31,128; python: 481; makefile: 14
file content (25 lines) | stat: -rw-r--r-- 1,044 bytes parent folder | download | duplicates (4)
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
# CMake package file for Bio++ Core
# Authors:
#   Francois Gindraud (2017)
# Created: 08/03/2017
@PACKAGE_INIT@

if (NOT @PROJECT_NAME@_FOUND)
  # No deps
  # 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)