mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-14 17:21:18 +08:00
7 lines
244 B
Plaintext
7 lines
244 B
Plaintext
|
libmagic provides CMake targets:
|
||
|
|
||
|
find_package(unofficial-libmagic REQUIRED)
|
||
|
target_link_libraries(main PRIVATE unofficial::libmagic::libmagic)
|
||
|
|
||
|
The magic.mgc file can be accessed from the unofficial-libmagic_DICTIONARY variable.
|