mirror of
https://github.com/QuasarApp/qca.git
synced 2025-05-09 01:09:34 +00:00
Add version
svn path=/trunk/kdesupport/qca/; revision=621696
This commit is contained in:
parent
880c98f4ae
commit
ddc3b8a91c
@ -1,6 +1,7 @@
|
||||
|
||||
# base source files
|
||||
|
||||
|
||||
SET( nonmoc_SOURCES
|
||||
qca_tools.cpp
|
||||
qca_plugin.cpp
|
||||
@ -49,6 +50,9 @@ ENDIF(UNIX)
|
||||
# Botan tools
|
||||
SET( botan_BASE botantools/botan )
|
||||
|
||||
|
||||
INCLUDE_DIRECTORIES(${QT_QTCORE_INCLUDE_DIR} support support/dirwatch ${botan_BASE} )
|
||||
|
||||
ADD_DEFINITIONS(
|
||||
-DBOTAN_TYPES_QT
|
||||
-DBOTAN_NO_INIT_H
|
||||
@ -115,7 +119,6 @@ qt4_wrap_cpp( SOURCES "${qca_INCLUDEDIR}/QtCrypto/qpipe.h")
|
||||
qt4_wrap_cpp( SOURCES "support/dirwatch/dirwatch_p.h")
|
||||
|
||||
ADD_LIBRARY(qca SHARED ${SOURCES})
|
||||
INCLUDE_DIRECTORIES(${QT_QTCORE_INCLUDE_DIR} support support/dirwatch ${botan_BASE} )
|
||||
TARGET_LINK_LIBRARIES(qca ${QT_QTCORE_LIBRARY})
|
||||
|
||||
if(WIN32)
|
||||
@ -127,6 +130,8 @@ if(APPLE)
|
||||
TARGET_LINK_LIBRARIES(qca ${CARBON_LIBRARY} ${CARBON_LIBRARY_SECURITY})
|
||||
endif(APPLE)
|
||||
|
||||
set_target_properties(qca PROPERTIES VERSION 2.0.0 SOVERSION 2 )
|
||||
|
||||
INSTALL(TARGETS qca DESTINATION ${CMAKE_INSTALL_PREFIX}/lib)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user