vcpkg/ports/libflac/usage
Pierre Wendling 658a8165a9
[libflac] Bump to 1.4.2 (#29584)
* [libflac] Bump to 1.4.2.

- The license was incorrectly set to GFDL instead of BSD-3.
See: https://github.com/xiph/flac#components
- Remove patches that were merged upstream.
- Stack protection and fortify source under mingw is checked upstream.
- CMake config file location has changed.
- Use vcpkg_install_copyright to install license.

* [libflac] Add usage file.

* [libflac] Update baseline.
2023-02-13 07:37:00 -08:00

9 lines
257 B
Plaintext

The package libflac provides CMake targets:
find_package(FLAC CONFIG REQUIRED)
target_link_libraries(main PRIVATE FLAC::FLAC)
# Or use the C++ API
find_package(FLAC CONFIG REQUIRED)
target_link_libraries(main PRIVATE FLAC::FLAC++)