mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-24 15:07:51 +08:00
658a8165a9
* [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.
9 lines
257 B
Plaintext
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++)
|