mirror of
https://github.com/nlohmann/json
synced 2024-11-08 21:50:07 +00:00
CMake: use conventional prefix and incluedir variables in pkg-config
This is more standard, and has some advantages when cross compiling. This also means that the pkg-config files generated by Meson and CMake now match.
This commit is contained in:
parent
672b577495
commit
ba6d78ba67
@ -1,4 +1,7 @@
|
||||
prefix=@CMAKE_INSTALL_PREFIX@
|
||||
includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
|
||||
|
||||
Name: @PROJECT_NAME@
|
||||
Description: JSON for Modern C++
|
||||
Version: @PROJECT_VERSION@
|
||||
Cflags: -I@CMAKE_INSTALL_FULL_INCLUDEDIR@
|
||||
Cflags: -I${includedir}
|
||||
|
Loading…
Reference in New Issue
Block a user