mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-05 11:39:09 +08:00
cafd398be7
* Revise portfile and patches Fix dependencies and pkg-config export. Add tools feature. * Update versions * Fixup libgd name for windows [skip actions] * Print usage * Update versions
7 lines
201 B
Plaintext
7 lines
201 B
Plaintext
libgd can be imported via CMake FindPkgConfig module:
|
|
|
|
find_package(PkgConfig)
|
|
pkg_check_modules(LIBGD REQUIRED IMPORTED_TARGET gdlib)
|
|
|
|
target_link_libraries(main PRIVATE PkgConfig::LIBGD)
|