mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 18:39:07 +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++)
|