vcpkg/ports/tomlplusplus/usage

6 lines
246 B
Plaintext
Raw Normal View History

The package tomlplusplus can be imported via CMake FindPkgConfig module:
find_package(PkgConfig REQUIRED)
pkg_check_modules(tomlplusplus REQUIRED IMPORTED_TARGET tomlplusplus)
target_link_libraries(main PkgConfig::tomlplusplus)