forked from BioPP/bpp-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.cmake.in
25 lines (24 loc) · 1.02 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
# 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}/@[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)