mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-16 19:35:27 +08:00
8 lines
403 B
Plaintext
8 lines
403 B
Plaintext
|
The package inih provides unofficial CMake targets:
|
||
|
find_package(unofficial-inih CONFIG REQUIRED)
|
||
|
# C API
|
||
|
target_link_libraries(main PRIVATE unofficial::inih::libinih)
|
||
|
# C++ API (Requires "cpp" feature)
|
||
|
target_link_libraries(main PRIVATE unofficial::inih::inireader)
|
||
|
Alternatively, if you are using pckgconfig use the name "inih" for the C API and "inireader" for the C++ API
|