vcpkg/ports/inih/usage
DownerCase 0fa8459cf3
[inih] Build with Meson + update to r57 (#33001)
* [inih] Use meson build, bump version

* [inih] Versioning

* Specify c++11 to meson to fix osx?

* [inih] Version

* Restore line endings

* Version

* Address review comments

- Removed CMake package versioning
  - Wasn't that useful as upstream don't use semver
- Use straight configure_file to install CMake package config
- Make cpp feature default
- Prefer PkgConfig usage

* Version

* Actually delete the CMakeList

* Version

* separate C and C++ library usage

* Version

* Remove unofficial CMake config

* Revert "Remove unofficial CMake config"

This reverts commit 94ff6a9032.

* Take Javier's suggestion
2023-08-11 15:22:31 -07:00

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