You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
783 B
28 lines
783 B
4 years ago
|
project (compiz-plugins-extra)
|
||
|
|
||
|
cmake_minimum_required (VERSION 2.4)
|
||
|
|
||
|
set (CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
|
||
|
include (cmake/addons.cmake)
|
||
|
include (cmake/CompizFusion.cmake)
|
||
|
|
||
|
get_version ()
|
||
|
|
||
|
set (CF_INSTALL_TYPE package)
|
||
|
|
||
|
set (CF_MIN_COMPIZ_VERSION ${VERSION})
|
||
|
set (CF_MIN_BCOP_VERSION ${VERSION})
|
||
|
|
||
|
set (CF_PLUGIN_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/include")
|
||
|
set (CF_PLUGIN_PKGCONFIG_DIR "${CMAKE_CURRENT_SOURCE_DIR}")
|
||
|
set (CF_PLUGIN_XML_DIR "${CMAKE_CURRENT_SOURCE_DIR}/metadata")
|
||
|
set (CF_PLUGIN_I18N_DIR "${CMAKE_CURRENT_SOURCE_DIR}/po")
|
||
|
|
||
|
compiz_fusion_add_uninstall ()
|
||
|
cf_add_plugins (src)
|
||
|
cf_install_plugin_data_files (images)
|
||
|
cf_install_plugin_data_files (data)
|
||
|
cf_print_plugin_configure_results (src)
|
||
|
|
||
|
cf_add_package_generation ("Compiz Plugins Extra")
|