diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2017-11-16 23:54:55 -0800 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2017-11-16 23:54:55 -0800 |
| commit | 1b2f75be941e9eed5986c10eb99fd6049490daec (patch) | |
| tree | c782bfff26daa96f0aba34ec39e74513330e6cc0 /ports/boost/usage | |
| parent | 468e9e70e644eb26258434c9e27e34935eb3e06d (diff) | |
| download | vcpkg-1b2f75be941e9eed5986c10eb99fd6049490daec.tar.gz vcpkg-1b2f75be941e9eed5986c10eb99fd6049490daec.zip | |
[vcpkg] Support \share\<port>\usage to handle libraries which are found through built-in Find Modules.
Diffstat (limited to 'ports/boost/usage')
| -rw-r--r-- | ports/boost/usage | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ports/boost/usage b/ports/boost/usage new file mode 100644 index 000000000..28d429010 --- /dev/null +++ b/ports/boost/usage @@ -0,0 +1,5 @@ +The package boost is compatible with built-in CMake targets:
+
+ find_package(Boost REQUIRED [COMPONENTS <libs>...])
+ target_link_libraries(main PRIVATE ${Boost_LIBRARIES})
+ target_include_directories(main PRIVATE ${Boost_INCLUDE_DIRS})
|
