-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.cmake.in
26 lines (25 loc) · 1.07 KB
/
package.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
# CMake package file for Bio++ PhylLib
# Authors:
# Francois Gindraud (2017)
# Created: 08/03/2017
@PACKAGE_INIT@
if (NOT @PROJECT_NAME@_FOUND)
# Deps
find_package (bpp-phyl @bpp-phyl_VERSION@ REQUIRED)
# Add targets
include ("${CMAKE_CURRENT_LIST_DIR}/@[email protected]")
# 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)