mirror of
https://github.com/QuasarApp/qca.git
synced 2025-04-28 12:34:31 +00:00
Don't hardcode lib soname in pc file
svn path=/trunk/kdesupport/qca/; revision=704936
This commit is contained in:
parent
c6e7d889b4
commit
b34c1ce1cd
@ -12,6 +12,13 @@ set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules" )
|
|||||||
|
|
||||||
find_package(Qt4 REQUIRED)
|
find_package(Qt4 REQUIRED)
|
||||||
|
|
||||||
|
SET(QCA_LIB_MAJOR_VERSION "2")
|
||||||
|
SET(QCA_LIB_MINOR_VERSION "0")
|
||||||
|
SET(QCA_LIB_PATCH_VERSION "0")
|
||||||
|
|
||||||
|
SET(QCA_LIB_VERSION_STRING "${QCA_LIB_MAJOR_VERSION}.${QCA_LIB_MINOR_VERSION}.${QCA_LIB_PATCH_VERSION}")
|
||||||
|
|
||||||
|
|
||||||
if (APPLE)
|
if (APPLE)
|
||||||
find_package(Carbon REQUIRED)
|
find_package(Carbon REQUIRED)
|
||||||
set(CMAKE_INSTALL_NAME_DIR ${LIB_INSTALL_DIR})
|
set(CMAKE_INSTALL_NAME_DIR ${LIB_INSTALL_DIR})
|
||||||
|
@ -5,7 +5,7 @@ includedir=@CMAKE_INSTALL_PREFIX@/include/QtCrypto
|
|||||||
|
|
||||||
Name: QCA
|
Name: QCA
|
||||||
Description: Qt Cryptographic Architecture library\n
|
Description: Qt Cryptographic Architecture library\n
|
||||||
Version: 2.0.0 #maybe this shouldn't be literal...
|
Version: @QCA_LIB_VERSION_STRING@
|
||||||
Requires: QtCore
|
Requires: QtCore
|
||||||
Libs: -L${libdir} -lqca
|
Libs: -L${libdir} -lqca
|
||||||
Cflags: -I${includedir}
|
Cflags: -I${includedir}
|
||||||
|
@ -146,7 +146,7 @@ if(APPLE)
|
|||||||
TARGET_LINK_LIBRARIES(qca ${CARBON_LIBRARY} ${CARBON_LIBRARY_SECURITY})
|
TARGET_LINK_LIBRARIES(qca ${CARBON_LIBRARY} ${CARBON_LIBRARY_SECURITY})
|
||||||
endif(APPLE)
|
endif(APPLE)
|
||||||
|
|
||||||
set_target_properties(qca PROPERTIES VERSION 2.0.0 SOVERSION 2 )
|
set_target_properties(qca PROPERTIES VERSION ${QCA_LIB_MAJOR_VERSION}.${QCA_LIB_MINOR_VERSION}.${QCA_LIB_PATCH_VERSION} SOVERSION ${QCA_LIB_MAJOR_VERSION} )
|
||||||
|
|
||||||
INSTALL(TARGETS qca DESTINATION ${LIB_INSTALL_DIR})
|
INSTALL(TARGETS qca DESTINATION ${LIB_INSTALL_DIR})
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user