Skip to content

Commit 6eda191

Browse files
authored
Update README.md
1 parent 828f248 commit 6eda191

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,7 @@ Check the installation by running a sample example.
8989
`$ cd build/sample` <br/>
9090
`$ ./btpp_example` <br/>
9191

92-
Note that the local installation generates the shared library in `/path/to/folder/build/lib`.
93-
94-
INSTALL THE LIBRARY SYSTEM-WIDE (tested on Ubuntu 14.04 only)
92+
INSTALL THE LIBRARY SYSTEM-WIDE (tested on Ubuntu 14.04 and 16.04)
9593
-------------------------------
9694

9795
If you would like to install the library system-wide, then run:
@@ -100,7 +98,9 @@ If you would like to install the library system-wide, then run:
10098
`$ cd build` <br/>
10199
`$ sudo make install` <br/>
102100

103-
On Ubuntu 14.04, this will install the shared library (libbtpp.so) in `/usr/local/lib`. <br/>
101+
On Ubuntu, this will install the library (libbtpp.so) in `/usr/local/lib`. <br/>
102+
In an external project, just call in your CMakeLists 'find_package(BTpp)' to find the library.
103+
The include directory is defined as `BTpp_INCLUDE_DIRS` and the libraries to link as `BTpp_LIBRARIES`.
104104
The repository [my-behavior-tree-project](https://github.com/miccol/my-behavior-tree-project) shows an example on how to use the library once system-wide installed.
105105

106106

0 commit comments

Comments
 (0)