vcpkg/ports/libgd/usage

7 lines
201 B
Plaintext
Raw Normal View History

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)