mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 03:10:57 +08:00
7 lines
219 B
Plaintext
7 lines
219 B
Plaintext
|
The package mpfr can be imported via CMake FindPkgConfig module:
|
||
|
|
||
|
find_package(PkgConfig)
|
||
|
pkg_check_modules(mpfr REQUIRED IMPORTED_TARGET mpfr)
|
||
|
|
||
|
target_link_libraries(main PRIVATE PkgConfig::mpfr)
|