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(disco C) |
18 project(disco C) |
19 set(PROJECT_VERSION "0.0.1") |
19 set(PROJECT_VERSION "0.0.2") |
20 |
20 |
21 ## User settable options |
21 ## User settable options |
22 |
22 |
23 ## Check for build dependencies |
23 ## Check for build dependencies |
24 find_package(PkgConfig REQUIRED) |
24 find_package(PkgConfig REQUIRED) |
59 include_directories(${disco_SOURCE_DIR} |
59 include_directories(${disco_SOURCE_DIR} |
60 ${disco_BINARY_DIR}) |
60 ${disco_BINARY_DIR}) |
61 set_target_properties(disco PROPERTIES COMPILE_FLAGS "-Wall") |
61 set_target_properties(disco PROPERTIES COMPILE_FLAGS "-Wall") |
62 |
62 |
63 ## Packaging information |
63 ## Packaging information |
64 set(CPACK_PACKAGE_NAME libmcabber-disco) |
64 set(CPACK_PACKAGE_NAME mcabber-mod-disco) |
65 set(CPACK_PACKAGE_VERSION ${PROJECT_VERSION}) |
65 set(CPACK_PACKAGE_VERSION ${PROJECT_VERSION}) |
66 set(CPACK_PACKAGE_VENDOR "IsBear") |
66 set(CPACK_PACKAGE_VENDOR "IsBear") |
67 set(CPACK_PACKAGE_CONTACT "Myhailo Danylenko <isbear@ukrpost.net>") |
67 set(CPACK_PACKAGE_CONTACT "Myhailo Danylenko <isbear@ukrpost.net>") |
68 set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Mcabber module for service discovery requests") |
68 set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Mcabber module for service discovery requests") |
69 set(CPACK_RESOURCE_FILE_LICENSE ${disco_SOURCE_DIR}/COPYING) |
69 set(CPACK_RESOURCE_FILE_LICENSE ${disco_SOURCE_DIR}/COPYING) |