equal
deleted
inserted
replaced
14 # You should have received a copy of the GNU General Public License |
14 # You should have received a copy of the GNU General Public License |
15 # along with this program. If not, see <http://www.gnu.org/licenses/>. |
15 # along with this program. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
17 cmake_minimum_required(VERSION 2.6) |
17 cmake_minimum_required(VERSION 2.6) |
18 project(marking C) |
18 project(marking C) |
|
19 set(PROJECT_VERSION "0.0.1") |
19 |
20 |
20 ## User settable options |
21 ## User settable options |
21 |
22 |
22 ## Check for build dependencies |
23 ## Check for build dependencies |
23 find_package(PkgConfig REQUIRED) |
24 find_package(PkgConfig REQUIRED) |
36 ${MCABBER_LIBRARIES}) |
37 ${MCABBER_LIBRARIES}) |
37 include_directories(${marking_SOURCE_DIR} |
38 include_directories(${marking_SOURCE_DIR} |
38 ${marking_BINARY_DIR}) |
39 ${marking_BINARY_DIR}) |
39 |
40 |
40 ## Packaging information |
41 ## Packaging information |
|
42 configure_file(config.h.in config.h) |
41 set(CPACK_PACKAGE_NAME libmcabber-marking) |
43 set(CPACK_PACKAGE_NAME libmcabber-marking) |
42 set(CPACK_PACKAGE_VERSION "0.0.1") |
44 set(CPACK_PACKAGE_VERSION ${PROJECT_VERSION}) |
43 set(CPACK_PACKAGE_VENDOR "IsBear") |
45 set(CPACK_PACKAGE_VENDOR "IsBear") |
44 set(CPACK_PACKAGE_CONTACT "Myhailo Danylenko <isbear@ukrpost.net>") |
46 set(CPACK_PACKAGE_CONTACT "Myhailo Danylenko <isbear@ukrpost.net>") |
45 set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Mcabber module to do commands with multiple contacts") |
47 set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Mcabber module to do commands with multiple contacts") |
46 set(CPACK_RESOURCE_FILE_LICENSE ${marking_SOURCE_DIR}/COPYING) |
48 set(CPACK_RESOURCE_FILE_LICENSE ${marking_SOURCE_DIR}/COPYING) |
47 set(CPACK_SOURCE_GENERATOR TBZ2) |
49 set(CPACK_SOURCE_GENERATOR TBZ2) |