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