cmake/backbone submodule updated, pkg-config fixed.

This commit is contained in:
Kolan Sh 2015-10-11 13:07:59 +03:00
parent 5667e1f56f
commit 54866e4250
2 changed files with 2 additions and 23 deletions

@ -1 +1 @@
Subproject commit 0b0ae29b87b4e0cb884cc1f8d2c50d3d632ff77f Subproject commit 82708ba51466d02bb113e1e1aa258aef8f8bc38a

View File

@ -1,22 +1 @@
# configure pkg-config file INCLUDE (PkgConfigCommon)
IF (WIN32)
SET (PkgConfigPrefix "")
ELSE ()
SET (PkgConfigPrefix ${CMAKE_INSTALL_PREFIX})
ENDIF ()
SET (PkgConfigExecPrefix "\${prefix}")
SET (PkgConfigLibDir "\${exec_prefix}/lib")
SET (PkgConfigIncludeDir "\${prefix}/include")
SET (PkgConfigName "${CMAKE_PROJECT_NAME}")
SET (PkgConfigDescription "${PROJECT_DESCRIPTION}")
SET (PkgConfigVersion "${MAJOR}.${MINOR}.${PATCH}")
SET (PkgConfigLibs "-L\${libdir}")
SET (PkgConfigLibs "${PkgConfigLibs} -l${PROJECT_LOWERCASE_NAME}.so.${MAJOR}")
SET (PkgConfigLibsPrivate "")
SET (PkgConfigCflags "")
CONFIGURE_FILE (
"${CMAKE_CURRENT_SOURCE_DIR}/pkg-config.pc.in"
"${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_LOWERCASE_NAME}-${MAJOR}.pc"
)