mirror of
https://github.com/dropbox/json11.git
synced 2024-12-15 08:50:05 +08:00
8076ba74e0
...to the CMake build script. The pkg-config file needs a version number (which it takes from the CMakeLists.txt variable), which I've set to 1.0.0. The cmake project declaration needs to be after the minimum-requirement declaration to avoid errors from the cmake's change in VERSION semantics.
9 lines
275 B
PkgConfig
9 lines
275 B
PkgConfig
prefix=@CMAKE_INSTALL_PREFIX@
|
|
libdir=${prefix}/lib
|
|
includedir=${prefix}/include
|
|
|
|
Name: @PROJECT_NAME@
|
|
Description: json11 is a tiny JSON library for C++11, providing JSON parsing and serialization.
|
|
Version: @PROJECT_VERSION@
|
|
Libs: -L${libdir} -ljson11
|
|
Cflags: -I${includedir} |