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