templates/pkg-config.pc.in added.

This commit is contained in:
Kolan Sh 2015-10-19 19:08:54 +03:00
parent dd44f3f616
commit 1c6d185bf6
2 changed files with 17 additions and 0 deletions

View File

@ -20,3 +20,9 @@ ENDIF (WIN32)
SET (PkgConfigLibsPrivate "") SET (PkgConfigLibsPrivate "")
SET (PkgConfigCflags "") SET (PkgConfigCflags "")
CONFIGURE_FILE (
"${CMAKE_SOURCE_DIR}/cmake/backbone/templates/pkg-config.pc.in"
"${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_LOWERCASE_NAME}-${MAJOR}.pc"
)

View File

@ -0,0 +1,11 @@
prefix=@PkgConfigPrefix@
exec_prefix=@PkgConfigExecPrefix@
libdir=@PkgConfigLibDir@
includedir=@PkgConfigIncludeDir@
Name: @PkgConfigName@
Description: @PkgConfigDescription@
Version: @PkgConfigVersion@
Libs: @PkgConfigLibs@
Libs.private: @PkgConfigLibsPrivate@
Cflags: @PkgConfigCflags@