mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-25 19:57:49 +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++)
|