mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-03 03:29:01 +08:00
10 lines
373 B
Plaintext
10 lines
373 B
Plaintext
|
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@)
|