diff options
Diffstat (limited to 'vcpkg/ports/vcpkg-boost/usage.in')
| -rw-r--r-- | vcpkg/ports/vcpkg-boost/usage.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/vcpkg/ports/vcpkg-boost/usage.in b/vcpkg/ports/vcpkg-boost/usage.in new file mode 100644 index 0000000..929ed24 --- /dev/null +++ b/vcpkg/ports/vcpkg-boost/usage.in @@ -0,0 +1,9 @@ +The package @PORT@ is compatible with built-in CMake targets of FindBoost.cmake:
+
+ find_package(Boost REQUIRED COMPONENTS @BOOST_PORT_NAME@)
+ target_link_libraries(main PRIVATE Boost::@BOOST_PORT_NAME@)
+
+or the generated cmake configs via:
+
+ find_package(@PORT_UNDERSCORE@ REQUIRED CONFIG)
+ target_link_libraries(main PRIVATE Boost::@BOOST_PORT_NAME@)
|