mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 17:17:55 +08:00
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++)
|