~ubuntu-branches/ubuntu/trusty/kdepimlibs/trusty

« back to all changes in this revision

Viewing changes to gpgme++/CMakeLists.txt

  • Committer: Package Import Robot
  • Author(s): Rohan Garg, Rohan Garg, Philip Muškovac
  • Date: 2013-11-23 17:36:44 UTC
  • mfrom: (1.1.102)
  • Revision ID: package-import@ubuntu.com-20131123173644-p5ow94192ezsny8g
Tags: 4:4.11.80-0ubuntu1
[ Rohan Garg ]
* New upstream beta release
  - Bump akonadi requirement to 1.10.45
  - Update install files
  - Update symbols

[ Philip Muškovac ]
* kdepimlibs-dev/-dbg breaks/replaces kdepim-runtime/-dbg (<< 4:4.11.80)

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
set( GPGMEPP_INCLUDE ${INCLUDE_INSTALL_DIR} ${GPGME_INCLUDES} ${Boost_INCLUDE_DIR} )
50
50
 
51
51
if ( GPGME_VANILLA_FOUND )
52
 
   kde4_add_library( gpgmepp ${LIBRARY_TYPE} ${gpgme_LIB_SRCS} context_vanilla.cpp )
 
52
   add_library( gpgmepp ${LIBRARY_TYPE} ${gpgme_LIB_SRCS} context_vanilla.cpp )
 
53
   generate_export_header(gpgmepp EXPORT_FILE_NAME gpgme++_export.h)
 
54
 
53
55
   target_link_libraries( gpgmepp ${GPGME_VANILLA_LIBRARIES} )
54
56
   if(WINCE)
55
57
   target_link_libraries(gpgmepp ${WCECOMPAT_LIBRARIES})
65
67
endif()
66
68
 
67
69
if ( GPGME_GLIB_FOUND )
68
 
   kde4_add_library( gpgmepp-glib ${LIBRARY_TYPE} ${gpgme_LIB_SRCS} context_glib.cpp )
 
70
   add_library( gpgmepp-glib ${LIBRARY_TYPE} ${gpgme_LIB_SRCS} context_glib.cpp )
 
71
   generate_export_header(gpgmepp-glib)
69
72
   target_link_libraries( gpgmepp-glib ${GPGME_GLIB_LIBRARIES} )
70
73
   set_target_properties( gpgmepp-glib PROPERTIES
71
74
                                       VERSION     ${_gpgmepp_version}
78
81
 
79
82
 
80
83
if ( GPGME_QT_FOUND )
81
 
   kde4_add_library( gpgmepp-qt ${LIBRARY_TYPE} ${gpgme_LIB_SRCS} context_qt.cpp )
 
84
   add_library( gpgmepp-qt ${LIBRARY_TYPE} ${gpgme_LIB_SRCS} context_qt.cpp )
 
85
   generate_export_header(gpgmepp-qt)
82
86
   target_link_libraries( gpgmepp-qt ${GPGME_QT_LIBRARIES} )
83
87
   if(WIN32)
84
88
      target_link_libraries( gpgmepp-qt ${GPGME_VANILLA_LIBRARIES} )
94
98
 
95
99
 
96
100
if ( GPGME_PTHREAD_FOUND )
97
 
   kde4_add_library( gpgmepp-pthread ${LIBRARY_TYPE} ${gpgme_LIB_SRCS} context_vanilla.cpp )
 
101
   add_library( gpgmepp-pthread ${LIBRARY_TYPE} ${gpgme_LIB_SRCS} context_vanilla.cpp )
 
102
   generate_export_header(gpgmepp-pthread)
98
103
   target_link_libraries( gpgmepp-pthread ${GPGME_PTHREAD_LIBRARIES} )
99
104
   set_target_properties( gpgmepp-pthread PROPERTIES
100
105
                                          VERSION     ${_gpgmepp_version}
106
111
endif()
107
112
 
108
113
if ( GPGME_PTH_FOUND )
109
 
   kde4_add_library( gpgmepp-pth ${LIBRARY_TYPE} ${gpgme_LIB_SRCS} context_vanilla.cpp )
 
114
   add_library( gpgmepp-pth ${LIBRARY_TYPE} ${gpgme_LIB_SRCS} context_vanilla.cpp )
 
115
   generate_export_header(gpgmepp-pth)
110
116
   target_link_libraries( gpgmepp-pth ${GPGME_PTH_LIBRARIES} )
111
117
   set_target_properties( gpgmepp-pth PROPERTIES
112
118
                                      VERSION     ${_gpgmepp_version}
143
149
        scdgetinfoassuantransaction.h
144
150
        gpgagentgetinfoassuantransaction.h
145
151
        configuration.h
146
 
        gpgme++_export.h vfsmountresult.h
 
152
        ${CMAKE_CURRENT_BINARY_DIR}/gpgme++_export.h vfsmountresult.h
147
153
        DESTINATION ${INCLUDE_INSTALL_DIR}/gpgme++ COMPONENT Devel
148
154
   )
149
155