CMakeLists.txt
changeset 24 7aa499342e2b
parent 23 2b7060ce1152
child 27 c641ef370d18
equal deleted inserted replaced
23:2b7060ce1152 24:7aa499342e2b
    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(avatar C) 
    18 project(avatar 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) 
    63 include_directories(${avatar_SOURCE_DIR} 
    64 include_directories(${avatar_SOURCE_DIR} 
    64                     ${avatar_BINARY_DIR})
    65                     ${avatar_BINARY_DIR})
    65 
    66 
    66 ## Packaging information
    67 ## Packaging information
    67 set(CPACK_PACKAGE_NAME libmcabber-avatar)
    68 set(CPACK_PACKAGE_NAME libmcabber-avatar)
    68 set(CPACK_PACKAGE_VERSION "0.0.1")
    69 set(CPACK_PACKAGE_VERSION ${PROJECT_VERSION})
    69 set(CPACK_PACKAGE_VENDOR "IsBear")
    70 set(CPACK_PACKAGE_VENDOR "IsBear")
    70 set(CPACK_PACKAGE_CONTACT "Myhailo Danylenko <isbear@ukrpost.net>")
    71 set(CPACK_PACKAGE_CONTACT "Myhailo Danylenko <isbear@ukrpost.net>")
    71 set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Mcabber module for PEP avatar events handling")
    72 set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Mcabber module for PEP avatar events handling")
    72 set(CPACK_RESOURCE_FILE_LICENSE ${avatar_SOURCE_DIR}/COPYING)
    73 set(CPACK_RESOURCE_FILE_LICENSE ${avatar_SOURCE_DIR}/COPYING)
    73 set(CPACK_SOURCE_GENERATOR TBZ2)
    74 set(CPACK_SOURCE_GENERATOR TBZ2)